Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Wait for one slot to be produced (#10257)
Browse files Browse the repository at this point in the history
automerge

(cherry picked from commit 22a98bd)
  • Loading branch information
mvines committed May 27, 2020
1 parent 606a392 commit c9cbc39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/run-sanity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ while [[ ! -f config/run/init-completed ]]; do
fi
done

while [[ $($solana_cli slot --commitment recent) -eq 0 ]]; do
sleep 1
done
curl -X POST -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1, "method":"validatorExit"}' http://localhost:8899

wait $pid
Expand Down

0 comments on commit c9cbc39

Please sign in to comment.