Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

chore(ci): make wait_for_browser_provider time out after 2 minutes #11350

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions scripts/travis/wait_for_browser_provider.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@


# Wait for Connect to be ready before exiting
# Time out if we wait for more than 2 minutes, so that we can print logs.
let "counter=0"

while [ ! -f $BROWSER_PROVIDER_READY_FILE ]; do
let "counter++"
if [ $counter -gt 240 ]; then
echo "Timed out after 2 minutes waiting for browser provider ready file"
exit 5
fi
sleep .5
done