summaryrefslogtreecommitdiff
path: root/jstests/replsets/replset1.js
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2020-05-03 14:59:39 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-05-03 19:12:43 +0000
commit5b34bef6553fe843b0fda58094f17f96dc3598d9 (patch)
tree656e67e9e5a17649de07264a90432670630de5bd /jstests/replsets/replset1.js
parent881a4522ecf55dd585c0c4cf296aa750b2de000f (diff)
downloadmongo-5b34bef6553fe843b0fda58094f17f96dc3598d9.tar.gz
SERVER-38961 remove ReplSetTest.waitForAllIndexBuildsToFinish()
Diffstat (limited to 'jstests/replsets/replset1.js')
-rw-r--r--jstests/replsets/replset1.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/replset1.js b/jstests/replsets/replset1.js
index 96120f960f2..e78ab801565 100644
--- a/jstests/replsets/replset1.js
+++ b/jstests/replsets/replset1.js
@@ -124,7 +124,7 @@ var doTest = function(signal) {
t.save({a: 1000});
t.ensureIndex({a: 1});
- replTest.waitForAllIndexBuildsToFinish('foo', 'foo');
+ replTest.awaitReplication();
ts.forEach(function(z) {
assert.eq(2, z.getIndexKeys().length, "A " + z.getMongo());