mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
defeat race condition
Signed-off-by: RJ Catalano <rj@monax.io>
This commit is contained in:
parent
d76d9d4169
commit
d9e7af939c
@ -58,7 +58,7 @@ $ETH_PATH --test -d /tmp/test &
|
||||
# is available and is ready for the unit-tests to start talking to it.
|
||||
while [ ! -S /tmp/test/geth.ipc ]; do sleep 2; done
|
||||
echo "--> IPC available."
|
||||
|
||||
sleep 2
|
||||
# And then run the Solidity unit-tests (once without optimization, once with),
|
||||
# pointing to that IPC endpoint.
|
||||
echo "--> Running tests without optimizer..."
|
||||
@ -69,4 +69,4 @@ ERROR_CODE=$?
|
||||
pkill eth || true
|
||||
sleep 4
|
||||
pgrep eth && pkill -9 eth || true
|
||||
exit $ERROR_CODE
|
||||
exit $ERROR_CODE
|
Loading…
Reference in New Issue
Block a user