summaryrefslogtreecommitdiff
path: root/jstests/gle
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/gle')
-rw-r--r--jstests/gle/create_index_gle.js2
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();