summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorJack Mulrow <jack.mulrow@mongodb.com>2023-04-26 14:17:04 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-26 15:59:36 +0000
commite66caf9dfd30c1e2423dca226cd63070ea0f7607 (patch)
tree095205100b2773d246248d847f703c87b06612a4 /buildscripts
parent1d616ae7969f19a082521718e8224454e9ce737b (diff)
downloadmongo-e66caf9dfd30c1e2423dca226cd63070ea0f7607.tar.gz
SERVER-76455 Enable more jscore failover suites in config shard variant
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/resmokelib/testing/hooks/stepdown.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildscripts/resmokelib/testing/hooks/stepdown.py b/buildscripts/resmokelib/testing/hooks/stepdown.py
index 9d238db3bbb..ac73bb01bbf 100644
--- a/buildscripts/resmokelib/testing/hooks/stepdown.py
+++ b/buildscripts/resmokelib/testing/hooks/stepdown.py
@@ -55,6 +55,10 @@ class ContinuousStepdown(interface.Hook):
interface.Hook.__init__(self, hook_logger, fixture, ContinuousStepdown.DESCRIPTION)
self._fixture = fixture
+ if hasattr(fixture, "config_shard") and fixture.config_shard is not None and shard_stepdown:
+ # If the config server is a shard, shard_stepdown implies config_stepdown.
+ config_stepdown = shard_stepdown
+
self._config_stepdown = config_stepdown
self._shard_stepdown = shard_stepdown
self._stepdown_interval_secs = float(stepdown_interval_ms) / 1000