diff options
Diffstat (limited to 'buildscripts/resmokelib/testing/executor.py')
-rw-r--r-- | buildscripts/resmokelib/testing/executor.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/buildscripts/resmokelib/testing/executor.py b/buildscripts/resmokelib/testing/executor.py index 1ea67a4dfbe..d14a5e563f3 100644 --- a/buildscripts/resmokelib/testing/executor.py +++ b/buildscripts/resmokelib/testing/executor.py @@ -167,7 +167,8 @@ class TestGroupExecutor(object): threads.append(t) # SERVER-24729 Need to stagger when jobs start to reduce I/O load if there # are many of them. Both the 5 and the 10 are arbitrary. - if len(threads) >= 5: + # Currently only enabled on Evergreen. + if _config.STAGGER_JOBS and len(threads) >= 5: time.sleep(10) joined = False |