summaryrefslogtreecommitdiff
path: root/buildscripts/burn_in_tests.py
diff options
context:
space:
mode:
authorMax Hirschhorn <max.hirschhorn@mongodb.com>2019-03-08 16:40:59 -0500
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2019-03-08 16:40:59 -0500
commit18c3a38309585f1e18d2de2a75a5a2b8a17ec890 (patch)
treee7520b037b118b5af868a60b0222d47330042e1a /buildscripts/burn_in_tests.py
parentd5614151e3160d7c4d3f61d360ab65ab72eb411c (diff)
downloadmongo-18c3a38309585f1e18d2de2a75a5a2b8a17ec890.tar.gz
SERVER-40044 Whitelist specific test kinds in burn_in_tests.py.
Changes burn_in_tests.py to not attempt to run `dbtest --list` when selecting files to run from all the available test suites.
Diffstat (limited to 'buildscripts/burn_in_tests.py')
-rw-r--r--buildscripts/burn_in_tests.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/buildscripts/burn_in_tests.py b/buildscripts/burn_in_tests.py
index 118bc591779..398184d4f96 100644
--- a/buildscripts/burn_in_tests.py
+++ b/buildscripts/burn_in_tests.py
@@ -44,6 +44,9 @@ EVERGREEN_FILE = "etc/evergreen.yml"
SELECTOR_FILE = "etc/burn_in_tests.yml"
SUITE_FILES = ["with_server"]
+SUPPORTED_TEST_KINDS = ("fsm_workload_test", "js_test", "json_schema_test",
+ "multi_stmt_txn_passthrough", "parallel_fsm_workload_test")
+
def parse_command_line():
"""Parse command line options."""
@@ -284,8 +287,10 @@ def create_executor_list(suites, exclude_suites):
to run under that executor.
"""
+ test_membership = resmokelib.suitesconfig.create_test_membership_map(
+ test_kind=SUPPORTED_TEST_KINDS)
+
memberships = collections.defaultdict(list)
- test_membership = resmokelib.suitesconfig.create_test_membership_map()
for suite in suites:
for test in suite.tests:
for executor in set(test_membership[test]) - set(exclude_suites):