diff options
author | Robert Guo <robertguo@me.com> | 2019-05-28 00:48:22 -0400 |
---|---|---|
committer | Robert Guo <robert.guo@10gen.com> | 2019-05-28 15:25:19 -0400 |
commit | 8187520084f58882ab581e667464393e73c4f42a (patch) | |
tree | 1b8d6da3b2a4a881e6143ce50ba30382a5c6c9a2 /buildscripts/tests | |
parent | da8c0d18e7ba69ef2ce31236d34816f6fbe8cec3 (diff) | |
download | mongo-8187520084f58882ab581e667464393e73c4f42a.tar.gz |
SERVER-40924 SERVER-40923 Add Evergreen task to sanity check fuzzer can parse JavaScript tests, remove npm test call
This reverts commit 4f034e89cc7978317d4a6ef34bc718a83ab55ecb.
Diffstat (limited to 'buildscripts/tests')
-rw-r--r-- | buildscripts/tests/test_evergreen_gen_fuzzer_tests.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/buildscripts/tests/test_evergreen_gen_fuzzer_tests.py b/buildscripts/tests/test_evergreen_gen_fuzzer_tests.py index ef1c4d205c2..ddcc6f17e00 100644 --- a/buildscripts/tests/test_evergreen_gen_fuzzer_tests.py +++ b/buildscripts/tests/test_evergreen_gen_fuzzer_tests.py @@ -34,7 +34,9 @@ class TestGenerateEvgTasks(unittest.TestCase): self.assertEqual(options.num_tasks, len(config["tasks"])) - command1 = config["tasks"][0]["commands"][1] + self.assertEqual("setup jstestfuzz", config["tasks"][0]["commands"][1]["func"]) + + command1 = config["tasks"][0]["commands"][2] self.assertIn(str(options.num_files), command1["vars"]["jstestfuzz_vars"]) self.assertIn(options.npm_command, command1["vars"]["npm_command"]) self.assertEqual("run jstestfuzz", command1["func"]) @@ -55,4 +57,4 @@ class TestGenerateEvgTasks(unittest.TestCase): self.assertEqual("do multiversion setup", config["tasks"][0]["commands"][1]["func"]) self.assertEqual("/data/multiversion", - config["tasks"][0]["commands"][3]["vars"]["task_path_suffix"]) + config["tasks"][0]["commands"][4]["vars"]["task_path_suffix"]) |