Improve test script. (#1675)

This commit is contained in:
Nicolás Venturo
2019-03-12 17:17:33 -03:00
committed by GitHub
parent 29fa0a4ce5
commit 2a37b09cf6

View File

@ -41,10 +41,12 @@ start_ganache() {
if [ "$SOLIDITY_COVERAGE" = true ]; then
node_modules/.bin/testrpc-sc --gasLimit 0xfffffffffff --port "$ganache_port" "${accounts[@]}" > /dev/null &
else
node_modules/.bin/ganache-cli --gasLimit 0xfffffffffff "${accounts[@]}" > /dev/null &
node_modules/.bin/ganache-cli --gasLimit 0xfffffffffff --port "$ganache_port" "${accounts[@]}" > /dev/null &
fi
ganache_pid=$!
sleep 1
}
if ganache_running; then