diff --git a/dev/bots/run_fuchsia_tests.sh b/dev/bots/run_fuchsia_tests.sh index 91b1140dda..063178ab76 100755 --- a/dev/bots/run_fuchsia_tests.sh +++ b/dev/bots/run_fuchsia_tests.sh @@ -77,6 +77,13 @@ ssh-keygen -y -f $pkey > key.pub fuchsia_ctl pave -i $1 --public-key "key.pub" echo "$(date) END:PAVING --------------------------------------------" +echo "$(date) START:WAIT_DEVICE_READY -------------------------------" +for i in {1..10}; do + fuchsia_ctl ssh \ + --identity-file $pkey \ + -c "echo up" && break || sleep 15; +done +echo "$(date) END:WAIT_DEVICE_READY ---------------------------------" echo "$(date) START:PUSH_PACKAGES -------------------------------" fuchsia_ctl push-packages \