diff options
author | ohemorange <ebportnoy@gmail.com> | 2019-02-21 02:20:44 +0300 |
---|---|---|
committer | Brad Warren <bmw@users.noreply.github.com> | 2019-02-21 02:20:44 +0300 |
commit | eef4c476335a9338dc71509d3d7c21de7d81b486 (patch) | |
tree | 43a5433388043b01c2f14cd43f5966273651dc85 /tests/letstest/multitester.py | |
parent | bda840b3eec938829306956a0b3e7d4f691ddac2 (diff) |
Add failure message if test farm tests do not run the correct number of tests. (#6771)
Fixes #6748.
Diffstat (limited to 'tests/letstest/multitester.py')
-rw-r--r-- | tests/letstest/multitester.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/letstest/multitester.py b/tests/letstest/multitester.py index 8babc67b3..b8ae937ad 100644 --- a/tests/letstest/multitester.py +++ b/tests/letstest/multitester.py @@ -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: |