summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuhong Zhang <danielzhangyh@gmail.com>2021-09-28 15:16:38 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-09-28 16:15:20 +0000
commit2f4f893adbabdb182bc19e08e07d745de44748ea (patch)
tree10c016d63a3d1c14d8503a61bdb550440255f87b
parent77e19ae35b3ed0ddcf260103df4d61b53941b27c (diff)
downloadmongo-2f4f893adbabdb182bc19e08e07d745de44748ea.tar.gz
SERVER-51806 Disable incompatible jstest for single phase index builds
-rw-r--r--jstests/noPassthrough/index_build_yield_bulk_load.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/jstests/noPassthrough/index_build_yield_bulk_load.js b/jstests/noPassthrough/index_build_yield_bulk_load.js
index e9c01c78ff4..f242adbcbaf 100644
--- a/jstests/noPassthrough/index_build_yield_bulk_load.js
+++ b/jstests/noPassthrough/index_build_yield_bulk_load.js
@@ -11,6 +11,12 @@ load("jstests/libs/fail_point_util.js");
const mongodOptions = {};
const conn = MongoRunner.runMongod(mongodOptions);
+if (!IndexBuildTest.supportsTwoPhaseIndexBuild(conn)) {
+ jsTest.log("Not running because two phase index builds are not supported.");
+ MongoRunner.stopMongod(conn);
+ return;
+}
+
TestData.dbName = jsTestName();
TestData.collName = "coll";