FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
angular/scripts/browserstack/waitfor_tunnel.sh at master · mcpelee/angular · GitHub
mcpelee
/
angular
Public
forked from
angular/angular
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
angular
/
scripts
/
browserstack
/
waitfor_tunnel.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
19 lines (16 loc) · 537 Bytes
Breadcrumbs
angular
/
scripts
/
browserstack
/
waitfor_tunnel.sh
Copy path
File metadata and controls
executable file
·
19 lines (16 loc) · 537 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!
/bin/bash
#
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
"
#
We must manually print logs here because travis will not run
#
after_script commands if the failure occurs before the script
#
phase.
./scripts/ci/print-logs.sh
exit
5
fi
sleep .5
done
Back
|
FazBrowse Home
|
New Git URL