summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Jin Kang Park <yujin.kang@mongodb.com>2023-05-10 13:50:09 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-10 15:31:30 +0000
commit58e1a84bc927d59affa6a48188c09fd16f591ce3 (patch)
tree6947af65084b51f8bbf9195b8421e7ee9dc13098
parent8abfa6342fd96373dc80d7e3d76077f03cea8a93 (diff)
downloadmongo-58e1a84bc927d59affa6a48188c09fd16f591ce3.tar.gz
SERVER-76980 Fix sporadic failure in index_build_out_of_order_scan.js
-rw-r--r--jstests/noPassthrough/index_build_out_of_order_scan.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/jstests/noPassthrough/index_build_out_of_order_scan.js b/jstests/noPassthrough/index_build_out_of_order_scan.js
index c99777ecf5b..f6491f9c70e 100644
--- a/jstests/noPassthrough/index_build_out_of_order_scan.js
+++ b/jstests/noPassthrough/index_build_out_of_order_scan.js
@@ -50,10 +50,7 @@ hangBeforeAbort.off();
jsTestLog("Waiting for threads to join");
createIdx();
-// Check server status metric.
-
-rst.awaitReplication();
-IndexBuildTest.assertIndexes(primaryColl, 1, ['_id_']);
+IndexBuildTest.assertIndexesSoon(primaryColl, 1, ['_id_']);
rst.stopSet();
})();