summaryrefslogtreecommitdiff
path: root/buildscripts/burn_in_tests.py
diff options
context:
space:
mode:
authorDavid Bradford <david.bradford@mongodb.com>2021-12-20 20:37:14 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-12-21 04:12:47 +0000
commit8c1ac4b85d016531709fce34dbd4fde1f33adbbe (patch)
treea0fc461ec044862252a5a1dd85a24856264c3136 /buildscripts/burn_in_tests.py
parent6fd04b0bdf70b659f8db6c4dfe62cb3d418178bb (diff)
downloadmongo-8c1ac4b85d016531709fce34dbd4fde1f33adbbe.tar.gz
SERVER-62191: Don't attempt burn-in-test when no tests are found
Diffstat (limited to 'buildscripts/burn_in_tests.py')
-rwxr-xr-xbuildscripts/burn_in_tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildscripts/burn_in_tests.py b/buildscripts/burn_in_tests.py
index 447e902ca79..30e87cfa513 100755
--- a/buildscripts/burn_in_tests.py
+++ b/buildscripts/burn_in_tests.py
@@ -161,6 +161,7 @@ def filter_tests(tests: Set[str], exclude_tests: List[str]) -> Set[str]:
:param exclude_tests: Tests to filter out.
:return: Set of tests with exclude_tests filtered out.
"""
+ tests = {test for test in tests if test.strip()}
if not exclude_tests or not tests:
return tests