Regularly print output in the test farm tests (#7079)

* Occasionally print output in test farm tests.

* Flush output.
This commit is contained in:
Brad Warren
2019-05-17 11:21:57 +02:00
committed by Adrien Ferrand
parent f4bbaadd18
commit 7a6545b747
+7 -2
View File
@@ -549,9 +549,14 @@ try:
# 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)