diff options
author | William Schultz <william.schultz@mongodb.com> | 2017-12-08 16:34:22 -0500 |
---|---|---|
committer | William Schultz <william.schultz@mongodb.com> | 2017-12-08 16:34:22 -0500 |
commit | a89e8f0d97b860beb93d71569f2b155fee87f120 (patch) | |
tree | 4bc16eb0346401dcce3d96ac4d54dd6039ac7d70 /jstests/replsets | |
parent | 14cb5c57370c330889c2ec70f61f2cf392c9dea9 (diff) | |
download | mongo-a89e8f0d97b860beb93d71569f2b155fee87f120.tar.gz |
SERVER-32224 Disable chaining in initial_sync_drop_collection.js
Diffstat (limited to 'jstests/replsets')
-rw-r--r-- | jstests/replsets/initial_sync_drop_collection.js | 8 |
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(); |