summaryrefslogtreecommitdiff
path: root/jstests/libs
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-12-23 14:38:38 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-12-23 15:05:18 -0500
commit4ec390cf7baa0cae5df32a7f0f1ca222aab3d915 (patch)
treeb9dc108ac099e0f5c49cfd78b32d048d12e0b9ee /jstests/libs
parentae83937130d1abc097e2694de97bf9ea59ed2f32 (diff)
downloadmongo-4ec390cf7baa0cae5df32a7f0f1ca222aab3d915.tar.gz
SERVER-22010 Blacklist min_optime_recovery.js from continuous config stepdown suite
Also increases the sleep time of the stepdown thread to allow for balance rounds to succeed.
Diffstat (limited to 'jstests/libs')
-rw-r--r--jstests/libs/override_methods/sharding_continuous_config_stepdown.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/jstests/libs/override_methods/sharding_continuous_config_stepdown.js b/jstests/libs/override_methods/sharding_continuous_config_stepdown.js
index 6edf2cbc79a..e272ebf84bc 100644
--- a/jstests/libs/override_methods/sharding_continuous_config_stepdown.js
+++ b/jstests/libs/override_methods/sharding_continuous_config_stepdown.js
@@ -59,8 +59,11 @@ ReplSetTest = function ReplSetTestWithContinuousPrimaryStepdown() {
// Wait for primary to get elected and allow the test to make some progress before
// attempting another stepdown.
- primary = replSet.getPrimary();
- sleep(7000);
+ if (stopCounter.getCount() > 0)
+ primary = replSet.getPrimary();
+
+ if (stopCounter.getCount() > 0)
+ sleep(8000);
}
print('*** Continuous stepdown thread completed successfully');