summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Schultz <william.schultz@mongodb.com>2017-12-08 16:34:22 -0500
committerMatthew Russotto <matthew.russotto@10gen.com>2018-01-03 16:20:58 -0500
commit3f418b4e5b7f3b7f6dcf513819299061ab318fbe (patch)
tree7a95a6e1b07d2b3a1c4aa498b92cde160ea2a136
parenta6a3056ce0833e969665380e0eca7ed2aca42742 (diff)
downloadmongo-3f418b4e5b7f3b7f6dcf513819299061ab318fbe.tar.gz
SERVER-32224 Disable chaining in initial_sync_drop_collection.js
(cherry picked from commit a89e8f0d97b860beb93d71569f2b155fee87f120)
-rw-r--r--jstests/replsets/initial_sync_drop_collection.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/jstests/replsets/initial_sync_drop_collection.js b/jstests/replsets/initial_sync_drop_collection.js
index bab5e8011c1..fc4a953b0d5 100644
--- a/jstests/replsets/initial_sync_drop_collection.js
+++ b/jstests/replsets/initial_sync_drop_collection.js
@@ -7,10 +7,14 @@
load('jstests/replsets/libs/two_phase_drops.js');
load("jstests/libs/uuid_util.js");
- // Set up replica set.
+ // Set up replica set. Disallow chaining so nodes always sync from primary.
const testName = "initial_sync_drop_collection";
const dbName = testName;
- var replTest = new ReplSetTest({name: testName, nodes: [{}, {rsConfig: {priority: 0}}]});
+ var replTest = new ReplSetTest({
+ name: testName,
+ nodes: [{}, {rsConfig: {priority: 0}}],
+ settings: {chainingAllowed: false}
+ });
replTest.startSet();
replTest.initiate();