summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/index_commit_currentop_slow.js
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2020-05-07 07:39:06 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-05-07 11:52:47 +0000
commit474e6228cf95e16aa205256a0f15ef9f9388252d (patch)
tree2b1ad04f25873c901ca49afd064ff8840f0fb192 /jstests/noPassthrough/index_commit_currentop_slow.js
parent03df68b3e2fb6d6d30dea41a581e3c3aec874f33 (diff)
downloadmongo-474e6228cf95e16aa205256a0f15ef9f9388252d.tar.gz
SERVER-38961 remove IndexBuildTest.supportsTwoPhaseIndexBuild() references from noPassthrough tests
Diffstat (limited to 'jstests/noPassthrough/index_commit_currentop_slow.js')
-rw-r--r--jstests/noPassthrough/index_commit_currentop_slow.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/jstests/noPassthrough/index_commit_currentop_slow.js b/jstests/noPassthrough/index_commit_currentop_slow.js
index dba290d768b..e693624c518 100644
--- a/jstests/noPassthrough/index_commit_currentop_slow.js
+++ b/jstests/noPassthrough/index_commit_currentop_slow.js
@@ -28,12 +28,6 @@ const primary = rst.getPrimary();
const testDB = primary.getDB('test');
const coll = testDB.getCollection('test');
-if (!IndexBuildTest.supportsTwoPhaseIndexBuild(primary)) {
- jsTestLog('Two phase index builds not enabled, skipping test.');
- rst.stopSet();
- return;
-}
-
assert.commandWorked(coll.insert({a: 1}));
const secondary = rst.getSecondary();