mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 15:52:08 -04:00
Add failure message if test farm tests do not run the correct number of tests. (#6771)
Fixes #6748.
This commit is contained in:
parent
bda840b3ee
commit
eef4c47633
1 changed files with 5 additions and 0 deletions
|
|
@ -564,6 +564,11 @@ try:
|
|||
ii, target, status = outq
|
||||
print('%d %s %s'%(ii, target['name'], status))
|
||||
results_file.write('%d %s %s\n'%(ii, target['name'], status))
|
||||
if len(outputs) != num_processes:
|
||||
failure_message = 'FAILURE: Some target machines failed to run and were not tested. ' +\
|
||||
'Tests should be rerun.'
|
||||
print(failure_message)
|
||||
results_file.write(failure_message + '\n')
|
||||
results_file.close()
|
||||
|
||||
finally:
|
||||
|
|
|
|||
Loading…
Reference in a new issue