summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorRobert Guo <robert.guo@mongodb.com>2021-12-02 16:21:52 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-12-02 17:12:47 +0000
commit0fec1c75cd6590b5ca7ec0b4f5cd0fcb75b66a36 (patch)
tree23f015bf400f450434b1427011a7c117dbde212e /buildscripts
parentbe3181ae244732d15e09571f2dc0488800bba26b (diff)
downloadmongo-0fec1c75cd6590b5ca7ec0b4f5cd0fcb75b66a36.tar.gz
SERVER-61563 upload fuzzer minimized output
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/task_generation/task_types/fuzzer_tasks.py9
-rw-r--r--buildscripts/tests/task_generation/task_types/test_fuzzer_tasks.py2
2 files changed, 0 insertions, 11 deletions
diff --git a/buildscripts/task_generation/task_types/fuzzer_tasks.py b/buildscripts/task_generation/task_types/fuzzer_tasks.py
index 61ce29527f3..7e6294c9a75 100644
--- a/buildscripts/task_generation/task_types/fuzzer_tasks.py
+++ b/buildscripts/task_generation/task_types/fuzzer_tasks.py
@@ -10,8 +10,6 @@ from buildscripts.task_generation.task_types.multiversion_decorator import Multi
MultiversionDecoratorParams
from buildscripts.util import taskname
-_MINIMIZABLE_FUZZERS = ["agg-fuzzer", "query-fuzzer"]
-
class FuzzerTask(NamedTuple):
"""
@@ -62,11 +60,6 @@ class FuzzerGenTaskParams(NamedTuple):
large_distro_name: Optional[str]
config_location: str
- @property
- def is_minimizable(self) -> bool:
- """Return whether this fuzzer in minimizable."""
- return self.npm_command in _MINIMIZABLE_FUZZERS
-
def jstestfuzz_params(self) -> Dict[str, str]:
"""Build a dictionary of parameters to pass to jstestfuzz."""
return {
@@ -144,7 +137,5 @@ class FuzzerGenTaskService:
FunctionCall("run jstestfuzz", params.jstestfuzz_params()),
FunctionCall(RUN_GENERATED_TESTS, run_tests_vars)
]
- if params.is_minimizable:
- commands.append(FunctionCall("minimize jstestfuzz", params.jstestfuzz_params()))
return Task(sub_task_name, commands, {TaskDependency(ARCHIVE_DIST_TEST_DEBUG_TASK)})
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 34c1d1eb3e5..55e6effde70 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,6 @@ class TestBuildFuzzerSubTask(unittest.TestCase):
self.assertEqual(sub_task.name, f"{mock_params.task_name}_3_{mock_params.variant}")
self.assertEqual(len(sub_task.commands), 6)
- self.assertNotEqual(sub_task.commands[-1].as_dict()["func"], "minimize jstestfuzz")
def test_sub_task_should_be_built_correct_with_minimize_command(self):
mock_params = build_mock_fuzzer_params(npm_command="agg-fuzzer")
@@ -105,7 +104,6 @@ class TestBuildFuzzerSubTask(unittest.TestCase):
self.assertEqual(sub_task.name, f"{mock_params.task_name}_3_{mock_params.variant}")
self.assertEqual(len(sub_task.commands), 7)
- self.assertEqual(sub_task.commands[-1].as_dict()["func"], "minimize jstestfuzz")
def test_sub_task_should_include_timeout_info(self):
mock_params = build_mock_fuzzer_params()