diff options
author | Mikhail Shchatko <mikhail.shchatko@mongodb.com> | 2020-12-04 10:42:50 +0300 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-12-08 07:43:26 +0000 |
commit | 7fb2d5929683c61462b10550a0dd69d23b951954 (patch) | |
tree | b991ad0764576322438925bf5d3f82d71ec74b92 /buildscripts/tests/patch_builds/test_task_generation.py | |
parent | 0aa1f24df337212f33b9aaa6e0e8d5204f44fa0e (diff) | |
download | mongo-7fb2d5929683c61462b10550a0dd69d23b951954.tar.gz |
SERVER-39859 Use the Evergreen REST v2 API to download -latest tarballs in setup multiversion mongodb
Diffstat (limited to 'buildscripts/tests/patch_builds/test_task_generation.py')
-rw-r--r-- | buildscripts/tests/patch_builds/test_task_generation.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/buildscripts/tests/patch_builds/test_task_generation.py b/buildscripts/tests/patch_builds/test_task_generation.py index 336c86d9c90..e0609d1d6f3 100644 --- a/buildscripts/tests/patch_builds/test_task_generation.py +++ b/buildscripts/tests/patch_builds/test_task_generation.py @@ -25,8 +25,8 @@ class TestResmokeCommand(unittest.TestCase): commands = under_test.resmoke_commands(run_tests, test_vars, timeout_info, use_multiversion="multiversion") - # 3 expected command = 1 for setup + 1 for running tests + 1 for multiversion setup. - self.assertEqual(3, len(commands)) + # 4 expected command = 1 for setup + 1 for running tests + 2 for multiversion setup. + self.assertEqual(4, len(commands)) def test_with_timeout(self): run_tests = "run tests" @@ -46,9 +46,9 @@ class TestResmokeCommand(unittest.TestCase): commands = under_test.resmoke_commands(run_tests, test_vars, timeout_info, use_multiversion="multiversion") - # 4 expected command = 1 for setup + 1 for running tests + 1 for multiversion setup + + # 5 expected command = 1 for setup + 1 for running tests + 2 for multiversion setup + # 1 for timeout. - self.assertEqual(4, len(commands)) + self.assertEqual(5, len(commands)) class TestTimeoutInfo(unittest.TestCase): |