Logo
Explore Help
Sign In
iSharkFly-Docs/angular-docs-cn
1
0
Fork 0
You've already forked angular-docs-cn
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
angular-docs-cn/scripts/sauce/sauce_connect_teardown.sh

17 lines
235 B
Bash
Raw Normal View History

build(travis): gracefully shut down the sauce connect tunnel after the tests are done running This is to prevent tunnel leaks which cause us to run out of allocated tunnels. Closes #4329
2015-09-22 20:45:30 -07:00
#!/bin/bash
set -e -o pipefail
echo "Shutting down Sauce Connect tunnel"
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 #4335
2015-09-23 09:37:04 -07:00
build(travis): gracefully shut down the sauce connect tunnel after the tests are done running This is to prevent tunnel leaks which cause us to run out of allocated tunnels. Closes #4329
2015-09-22 20:45:30 -07:00
killall sc
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 #4335
2015-09-23 09:37:04 -07:00
while [[ -n `ps -ef | grep "bin/sc" | grep -v "grep"` ]]; do
printf "."
sleep .5
done
echo ""
echo "Sauce Connect tunnel has been shut down"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 80ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API