diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2020-03-27 17:05:21 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-03-27 21:18:42 +0000 |
commit | d47240d22e29ae0751fcd2ccb0e088ac3375cd99 (patch) | |
tree | 87c500853dc8ce127d74f11ba38f2bc14015485d | |
parent | 6fcc9e0c9403c186a24f8be0c14b77d49623ba5a (diff) | |
download | mongo-d47240d22e29ae0751fcd2ccb0e088ac3375cd99.tar.gz |
Revert "SERVER-47067 Do not run 'rolling_index_builds_secondaries_vote_immediately.js' with single phase index builds"
This reverts commit 2802ae68a06555d89f7695980088f80b9a6f539b.
-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})); |