We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7972b1 commit 5e8ac49Copy full SHA for 5e8ac49
travis_exec_and_print_time.sh
@@ -1,6 +1,7 @@
1
#!/usr/bin/env bash
2
3
-echo "Exec and print time periodically"
+echo "Exec and print time periodically (overcoming our very long quiet times)"
4
+#Test command
5
#CMD="sleep 5"
6
#echo "CMD=$CMD"
7
#$CMD &
@@ -16,7 +17,7 @@ echo "Testing for PID=$PID"
16
17
#Sleep for X seconds and then test if the PID is still active
18
# inefficient but not too bad for this use case
19
# also not safe from race conditions in general but fine here
-while sleep 60
20
+while sleep 180
21
kill -0 $PID >/dev/null 2>&1
22
do
23
echo "Still running at $SECONDS seconds"
0 commit comments