Skip to content

Commit 0fc4e93

Browse files
authored
scripts: Wait longer for test validator to be ready (#96)
#### Problem There are some CI failures on the JS tests because we run the tests before the program has been properly deployed the validator at genesis. #### Summary of changes Wait a little longer during the restart script.
1 parent b674718 commit 0fc4e93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/restart-test-validator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ for i in {1..8}; do
3131
fi
3232

3333
SLOT=$(solana slot -ul 2>/dev/null)
34-
if [[ "$SLOT" =~ ^[0-9]+$ ]] && [ "$SLOT" -gt 0 ]; then
34+
if [[ "$SLOT" =~ ^[0-9]+$ ]] && [ "$SLOT" -gt 8 ]; then
3535
echo -e "\nTest validator is ready. Slot: $SLOT"
3636
exit 0
3737
fi

0 commit comments

Comments
 (0)