summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/indexbg_restart_secondary.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthroughWithMongod/indexbg_restart_secondary.js')
-rw-r--r--jstests/noPassthroughWithMongod/indexbg_restart_secondary.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/indexbg_restart_secondary.js b/jstests/noPassthroughWithMongod/indexbg_restart_secondary.js
index 446502905cb..371f1c51d58 100644
--- a/jstests/noPassthroughWithMongod/indexbg_restart_secondary.js
+++ b/jstests/noPassthroughWithMongod/indexbg_restart_secondary.js
@@ -79,7 +79,7 @@ assert.soon(function() {
}
}, "secondary didn't restart", 30000, 1000);
-assert.soon(function() {
+assert.soonNoExcept(function() {
return 2 == secondDB.getCollection(collectionName).getIndexes().length;
}, "Index build not resumed after restart", 30000, 50);
replTest.stopSet();