We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d780f7a commit 9a2f402Copy full SHA for 9a2f402
jstests/replsets/sync_passive2.js
@@ -205,11 +205,9 @@ assert.soon(function() {
205
return checkSyncingFrom(nodes[2], replTest.host+":"+replTest.ports[3]);
206
});
207
208
-print("do a write");
209
-replTest.getMaster().getDB("foo").bar.insert({x:1});
210
-
211
-print("check that 2 changes sync targets");
+print("do writes and check that 2 changes sync targets");
212
assert.soon(function() {
+ replTest.getMaster().getDB("foo").bar.insert({x:1});
213
return !checkSyncingFrom(nodes[2], replTest.host+":"+replTest.ports[3]);
214
}, 'failed to change sync target', 60000);
215
0 commit comments