Skip to content

Commit 5e8ac49

Browse files
committed
Update travis_exec_and_print_time.sh
1 parent a7972b1 commit 5e8ac49

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

travis_exec_and_print_time.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env bash
22

3-
echo "Exec and print time periodically"
3+
echo "Exec and print time periodically (overcoming our very long quiet times)"
4+
#Test command
45
#CMD="sleep 5"
56
#echo "CMD=$CMD"
67
#$CMD &
@@ -16,7 +17,7 @@ echo "Testing for PID=$PID"
1617
#Sleep for X seconds and then test if the PID is still active
1718
# inefficient but not too bad for this use case
1819
# also not safe from race conditions in general but fine here
19-
while sleep 60
20+
while sleep 180
2021
kill -0 $PID >/dev/null 2>&1
2122
do
2223
echo "Still running at $SECONDS seconds"

0 commit comments

Comments
 (0)