diff --git a/testing/talos/talos/output.py b/testing/talos/talos/output.py index 126c11cf5930c..bb32bf7ed9078 100644 --- a/testing/talos/talos/output.py +++ b/testing/talos/talos/output.py @@ -130,8 +130,11 @@ def __call__(self): if test.test_config.get('unit'): subtest['unit'] = test.test_config['unit'] + # if there is only one subtest, carry alerting setting from the suite + if len(subtests) == 1: + subtests[0]['shouldAlert'] = suite['shouldAlert'] # if there is more than one subtest, calculate a summary result - if len(subtests) > 1: + elif len(subtests) > 1: suite['value'] = self.construct_results( vals, testname=test.name()) if test.test_config.get('lower_is_better') is not None: