Skip to content

Commit 4d4d20e

Browse files
committed
build(travis): block travis while we are shutting down the tunnel
This is to prevent Travis from prematurely shut down the VM while we are still waiting for the sauce connect client to tear down the tunnel. Closes angular#4335
1 parent 3b609fb commit 4d4d20e

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

scripts/sauce/sauce_connect_teardown.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,13 @@ set -e -o pipefail
44

55

66
echo "Shutting down Sauce Connect tunnel"
7+
78
killall sc
9+
10+
while [[ -n `ps -ef | grep "bin/sc" | grep -v "grep"` ]]; do
11+
printf "."
12+
sleep .5
13+
done
14+
15+
echo ""
16+
echo "Sauce Connect tunnel has been shut down"

0 commit comments

Comments
 (0)