File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3838 "prepublishOnly" : " npm run build" ,
3939 "local-proxy" : " node ./dist/run_locally.js" ,
4040 "test" : " nyc cross-env NODE_OPTIONS=--insecure-http-parser mocha" ,
41- "test:docker" : " docker build --tag proxy-chain-tests --file test/Dockerfile . && docker run proxy-chain-tests" ,
41+ "test:docker" : " docker build --tag proxy-chain-tests --file test/Dockerfile . && docker run --add-host localhost-test:127.0.0.1 proxy-chain-tests" ,
4242 "test:docker:all" : " bash scripts/test-docker-all.sh" ,
4343 "lint" : " eslint ." ,
4444 "lint:fix" : " eslint . --fix"
Original file line number Diff line number Diff line change 33echo " Starting parallel Docker tests for Node 14, 16, and 18..."
44
55# Run builds in parallel, capture PIDs.
6- docker build --build-arg NODE_IMAGE=node:14.21.3-bullseye --tag proxy-chain-tests:node14 --file test/Dockerfile . && docker run proxy-chain-tests:node14 &
6+ docker build --build-arg NODE_IMAGE=node:14.21.3-bullseye --tag proxy-chain-tests:node14 --file test/Dockerfile . && docker run --add-host localhost-test:127.0.0.1 proxy-chain-tests:node14 &
77pid14=$!
8- docker build --build-arg NODE_IMAGE=node:16.20.2-bookworm --tag proxy-chain-tests:node16 --file test/Dockerfile . && docker run proxy-chain-tests:node16 &
8+ docker build --build-arg NODE_IMAGE=node:16.20.2-bookworm --tag proxy-chain-tests:node16 --file test/Dockerfile . && docker run --add-host localhost-test:127.0.0.1 proxy-chain-tests:node16 &
99pid16=$!
10- docker build --build-arg NODE_IMAGE=node:18.20.8-bookworm --tag proxy-chain-tests:node18 --file test/Dockerfile . && docker run proxy-chain-tests:node18 &
10+ docker build --build-arg NODE_IMAGE=node:18.20.8-bookworm --tag proxy-chain-tests:node18 --file test/Dockerfile . && docker run --add-host localhost-test:127.0.0.1 proxy-chain-tests:node18 &
1111pid18=$!
1212
1313# Wait for all and capture exit codes.
You can’t perform that action at this time.
0 commit comments