summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/rolling_index_builds_shutdown_early.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/rolling_index_builds_shutdown_early.js')
-rw-r--r--jstests/noPassthrough/rolling_index_builds_shutdown_early.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/jstests/noPassthrough/rolling_index_builds_shutdown_early.js b/jstests/noPassthrough/rolling_index_builds_shutdown_early.js
index c036c9b81b0..1f76c63c3f8 100644
--- a/jstests/noPassthrough/rolling_index_builds_shutdown_early.js
+++ b/jstests/noPassthrough/rolling_index_builds_shutdown_early.js
@@ -47,9 +47,8 @@ let primary = replTest.getPrimary();
let primaryDB = primary.getDB(dbName);
let coll = primaryDB.getCollection(collName);
-if (!IndexBuildTest.supportsTwoPhaseIndexBuild(primary) ||
- !IndexBuildTest.indexBuildCommitQuorumEnabled(primary)) {
- jsTestLog('Two phase index builds or commit quorum are not supported, skipping test.');
+if (!IndexBuildTest.supportsTwoPhaseIndexBuild(primary)) {
+ jsTestLog('Two phase index builds not supported, skipping test.');
replTest.stopSet();
return;
}