diff --git a/test/README.md b/test/README.md index c6226d3f15db5..79505f9fd8696 100644 --- a/test/README.md +++ b/test/README.md @@ -50,7 +50,7 @@ Check that all related services are not running (eg: from a previous run): ``` ps -aux | grep polkadot ps -aux | grep ganache -ps -aux | grep substrate +ps -aux | grep artemis ``` Kill all processes that are still running if needed diff --git a/test/scripts/start-services.sh b/test/scripts/start-services.sh index d67b0c7d638ff..5613e51bb3a15 100755 --- a/test/scripts/start-services.sh +++ b/test/scripts/start-services.sh @@ -7,6 +7,8 @@ configdir=$(mktemp -d -t artemis-config-XXX) start_ganache() { echo "Starting Ganache" + + pushd ../ethereum yarn run ganache-cli \ --port=8545 \ --blockTime=4 \ @@ -14,6 +16,7 @@ start_ganache() --deterministic \ --mnemonic='stone speak what ritual switch pigeon weird dutch burst shaft nature shove' \ >ganache.log 2>&1 & + popd scripts/wait-for-it.sh -t 32 localhost:8545 sleep 5