summaryrefslogtreecommitdiff
path: root/jstests/gle
diff options
context:
space:
mode:
authorLouis Williams <louis.williams@mongodb.com>2019-01-02 16:48:56 -0500
committerLouis Williams <louis.williams@mongodb.com>2019-01-17 11:35:32 -0500
commite12dcc7fdbdb44fb7806dfb42a49bd740f361d82 (patch)
treed23cdd47b52a10b5100598a8f6464febf8ec9b80 /jstests/gle
parent7edc50cf214893688eb8432619e4a8bba18d107b (diff)
downloadmongo-e12dcc7fdbdb44fb7806dfb42a49bd740f361d82.tar.gz
SERVER-37270 Remove foreground index builds by default
Diffstat (limited to 'jstests/gle')
-rw-r--r--jstests/gle/create_index_gle.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/jstests/gle/create_index_gle.js b/jstests/gle/create_index_gle.js
index d21281bda07..c3f69f18a03 100644
--- a/jstests/gle/create_index_gle.js
+++ b/jstests/gle/create_index_gle.js
@@ -41,6 +41,8 @@ load('jstests/replsets/rslib.js');
testDB.user.ensureIndex({x: 1});
assert.gleOK(testDB.runCommand({getLastError: 1, w: 2}));
+ replTest.waitForAllIndexBuildsToFinish('test', 'user');
+
var priIdx = testDB.user.getIndexes();
var secIdx = testDB2.user.getIndexes();