diff options
author | trahman1318 <tausif.rahman@mongodb.com> | 2022-04-19 15:28:51 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-04-19 17:22:32 +0000 |
commit | 3a35e0dc4b05967ac0929e54117547e969f621d7 (patch) | |
tree | 7bd248ed7771ec0e79805d0508b2f6aed2538b48 | |
parent | a3c966ffa5dad16c0b1895718ce4f225adc0a5a5 (diff) | |
download | mongo-3a35e0dc4b05967ac0929e54117547e969f621d7.tar.gz |
SERVER-65720 jstestfuzz_minimize.sh called when src/jstestfuzz DNE
3 files changed, 4 insertions, 4 deletions
diff --git a/buildscripts/task_generation/task_types/fuzzer_tasks.py b/buildscripts/task_generation/task_types/fuzzer_tasks.py index d8d85dab408..2b37810332b 100644 --- a/buildscripts/task_generation/task_types/fuzzer_tasks.py +++ b/buildscripts/task_generation/task_types/fuzzer_tasks.py @@ -141,7 +141,8 @@ class FuzzerGenTaskService: FunctionCall(CONFIGURE_EVG_CREDENTIALS), FunctionCall("setup jstestfuzz"), FunctionCall("run jstestfuzz", params.jstestfuzz_params()), - FunctionCall(RUN_GENERATED_TESTS, run_tests_vars) + FunctionCall(RUN_GENERATED_TESTS, run_tests_vars), + FunctionCall("minimize jstestfuzz") ] dependencies = {TaskDependency(dependency) for dependency in params.dependencies} diff --git a/buildscripts/tests/task_generation/task_types/test_fuzzer_tasks.py b/buildscripts/tests/task_generation/task_types/test_fuzzer_tasks.py index 133bdd3ca15..2897c03cd73 100644 --- a/buildscripts/tests/task_generation/task_types/test_fuzzer_tasks.py +++ b/buildscripts/tests/task_generation/task_types/test_fuzzer_tasks.py @@ -95,7 +95,7 @@ class TestBuildFuzzerSubTask(unittest.TestCase): sub_task = fuzzer_service.build_fuzzer_sub_task(3, mock_params) self.assertEqual(sub_task.name, f"{mock_params.task_name}_3_{mock_params.variant}") - self.assertEqual(len(sub_task.commands), 6) + self.assertEqual(len(sub_task.commands), 7) def test_sub_task_should_include_timeout_info(self): mock_params = build_mock_fuzzer_params() diff --git a/etc/evergreen_yml_components/definitions.yml b/etc/evergreen_yml_components/definitions.yml index ab1f86e129a..0e43e6d1e68 100644 --- a/etc/evergreen_yml_components/definitions.yml +++ b/etc/evergreen_yml_components/definitions.yml @@ -988,7 +988,7 @@ functions: args: - "./src/evergreen/extract_generated_test_configuration.sh" - "minimize jstestfuzz": &minimize_jstestfuzz + "minimize jstestfuzz": command: subprocess.exec type: test params: @@ -1162,7 +1162,6 @@ functions: args: - "./src/evergreen/multiversion_exclude_tags_generate.sh" - *execute_resmoke_tests - - *minimize_jstestfuzz # The existence of the "run_tests_infrastructure_failure" file indicates this failure isn't # directly actionable. We use type=setup rather than type=system or type=test for this command # because we don't intend for any human to look at this failure. |