Skip to content

Commit

Permalink
test: add option to not bring network up for docker integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gakonst committed May 1, 2021
1 parent 416a67d commit d8fce12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions integration-tests/test/setup-docker-compose-network.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ const { DockerComposeNetwork } = require("./shared/docker-compose")


before(async () => {
await new DockerComposeNetwork().up()
})
if (!process.env.NO_NETWORK) {
await new DockerComposeNetwork().up()
}
})
1 change: 1 addition & 0 deletions ops/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,4 @@ services:
L2_URL: http://l2geth:8545
URL: http://deployer:8081/addresses.json
ENABLE_GAS_REPORT: 1
NO_NETWORK: 1

0 comments on commit d8fce12

Please sign in to comment.