kill but don't fail

This commit is contained in:
aniketfuryrocks 2023-04-14 18:27:11 +05:30
parent 55cdef6e02
commit 1ade456a70
No known key found for this signature in database
GPG Key ID: 1B75EA596D89FF06
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ solana config set --url "http://0.0.0.0:8899"
echo "Starting the test validator"
solana-test-validator &
echo "Air Dropping 10000 sol"
echo "Air Dropping 10000 sol"
sleep 20 && solana airdrop 10000
echo "Starting LiteRpc"
@ -26,4 +26,4 @@ echo "Running yarn tests"
yarn test
echo "Done. Killing background jobs"
kill "$(jobs -p)"
kill "$(jobs -p)" || true