diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-12-23 14:38:38 -0500 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-12-23 15:05:18 -0500 |
commit | 4ec390cf7baa0cae5df32a7f0f1ca222aab3d915 (patch) | |
tree | b9dc108ac099e0f5c49cfd78b32d048d12e0b9ee /jstests/libs | |
parent | ae83937130d1abc097e2694de97bf9ea59ed2f32 (diff) | |
download | mongo-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.js | 7 |
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');
|