summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/index_stepdown_unique.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/index_stepdown_unique.js')
-rw-r--r--jstests/noPassthrough/index_stepdown_unique.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/index_stepdown_unique.js b/jstests/noPassthrough/index_stepdown_unique.js
index 02be8163efe..7855c9bd711 100644
--- a/jstests/noPassthrough/index_stepdown_unique.js
+++ b/jstests/noPassthrough/index_stepdown_unique.js
@@ -49,7 +49,7 @@ assert.neq(0, exitCode, 'expected shell to exit abnormally due to index build be
// Wait for the IndexBuildCoordinator thread, not the command thread, to report the index build
// as failed.
-checkLog.contains(primary, '[IndexBuildsCoordinatorMongod-0] Index build failed: ');
+checkLog.contains(primary, /\[IndexBuildsCoordinatorMongod-0\].*Index build failed: /);
IndexBuildTest.assertIndexes(coll, 1, ['_id_']);
rst.stopSet();