Skip to content

Commit

Permalink
Regularly print output in the test farm tests (#7079)
Browse files Browse the repository at this point in the history
* Occasionally print output in test farm tests.

* Flush output.
  • Loading branch information
bmw authored and adferrand committed May 17, 2019
1 parent f4bbaad commit 7a6545b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/letstest/multitester.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,9 +549,14 @@ class FabricException(Exception):
# add SENTINELs to end client processes
for i in range(num_processes):
inqueue.put(SENTINEL)
# wait on termination of client processes
print('Waiting on client processes', end='')
for p in jobs:
p.join()
while p.is_alive():
p.join(5 * 60)
# Regularly print output to keep Travis happy
print('.', end='')
sys.stdout.flush()
print()
# add SENTINEL to output queue
outqueue.put(SENTINEL)

Expand Down

0 comments on commit 7a6545b

Please sign in to comment.