File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ services:
2727 - VPN_DOWNRATE=5mbit
2828 - VPN_UPRATE=5mbit
2929 - VPN_HOST=127.0.0.1
30+ - VPN_INSTANCE_COUNT=1
3031 - VPN_CONNECT_INSTANCE_COUNT=1
3132 - VPN_CONNECT_PROXY_PORT=3128
3233 - VPN_SERVICE_API_KEY=test_vpn_key
@@ -59,7 +60,7 @@ services:
5960 sleep 10
6061 docker exec "$${CONTAINER_NAME}" npm install
6162 docker exec "$${CONTAINER_NAME}" npm run test-unit
62- docker exec "$${CONTAINER_NAME}" NODE_DEBUG=nock:* mocha test/app.ts
63+ docker exec -e NODE_DEBUG=nock:* "$${CONTAINER_NAME}" mocha test/app.ts
6364 # Test the learn-address script directly
6465 docker exec "$${CONTAINER_NAME}" env LEARN_ADDRESS_DEBUG=true /usr/src/app/openvpn/scripts/learn-address.sh 10mbit 5mbit add 10.0.0.100 test-client debug lo
6566 # Check if log file was created and show its contents
You can’t perform that action at this time.
0 commit comments