0
0
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:
matt dannenberg 2015-08-05 09:23:31 -04:00
parent 9dcfc9cc63
commit 6d5fd302c9

View File

@ -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'});