diff options
-rw-r--r-- | jstests/noPassthrough/rolling_index_builds_secondaries_vote_immediately.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/jstests/noPassthrough/rolling_index_builds_secondaries_vote_immediately.js b/jstests/noPassthrough/rolling_index_builds_secondaries_vote_immediately.js index 6fe6421266a..1b3f0769931 100644 --- a/jstests/noPassthrough/rolling_index_builds_secondaries_vote_immediately.js +++ b/jstests/noPassthrough/rolling_index_builds_secondaries_vote_immediately.js @@ -12,8 +12,6 @@ (function() { 'use strict'; -load('jstests/noPassthrough/libs/index_build.js'); - const replTest = new ReplSetTest({ nodes: [ {}, @@ -44,13 +42,6 @@ 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.'); - replTest.stopSet(); - return; -} - // Populate the collection to avoid empty collection index build optimization. assert.commandWorked(coll.insert({x: 1, y: 1})); |