mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-19785 immunize stepdown_while_draining.js against inserting on transition to primary
This commit is contained in:
parent
9dcfc9cc63
commit
6d5fd302c9
@ -29,6 +29,7 @@ load("jstests/replsets/rslib.js");
|
||||
});
|
||||
|
||||
var primary = replTest.getPrimary();
|
||||
replTest.awaitReplication();
|
||||
var config = primary.getDB("local").system.replset.findOne();
|
||||
conns[1].getDB("admin").runCommand({configureFailPoint: 'stepDownWhileDrainingFailPoint',
|
||||
mode: 'alwaysOn'});
|
||||
|
Loading…
Reference in New Issue
Block a user