diff options
author | Benety Goh <benety@mongodb.com> | 2020-05-03 14:59:39 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-05-03 19:12:43 +0000 |
commit | 5b34bef6553fe843b0fda58094f17f96dc3598d9 (patch) | |
tree | 656e67e9e5a17649de07264a90432670630de5bd /jstests/gle | |
parent | 881a4522ecf55dd585c0c4cf296aa750b2de000f (diff) | |
download | mongo-5b34bef6553fe843b0fda58094f17f96dc3598d9.tar.gz |
SERVER-38961 remove ReplSetTest.waitForAllIndexBuildsToFinish()
Diffstat (limited to 'jstests/gle')
-rw-r--r-- | jstests/gle/create_index_gle.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/gle/create_index_gle.js b/jstests/gle/create_index_gle.js index b8b63182924..8a10e5a2e9f 100644 --- a/jstests/gle/create_index_gle.js +++ b/jstests/gle/create_index_gle.js @@ -41,7 +41,7 @@ testDB.user.insert({x: 1}); testDB.user.ensureIndex({x: 1}); assert.gleOK(testDB.runCommand({getLastError: 1, w: 2})); -replTest.waitForAllIndexBuildsToFinish('test', 'user'); +replTest.awaitReplication(); var priIdx = testDB.user.getIndexes(); var secIdx = testDB2.user.getIndexes(); |