diff options
author | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2019-03-08 16:40:59 -0500 |
---|---|---|
committer | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2019-03-08 16:40:59 -0500 |
commit | 18c3a38309585f1e18d2de2a75a5a2b8a17ec890 (patch) | |
tree | e7520b037b118b5af868a60b0222d47330042e1a /buildscripts/burn_in_tests.py | |
parent | d5614151e3160d7c4d3f61d360ab65ab72eb411c (diff) | |
download | mongo-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.py | 7 |
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): |