summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2020-03-24 11:14:49 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-24 16:01:18 +0000
commiteaca0f11f42f149c7db08c7a81c99a410cf8347c (patch)
treefbf1c3896383885db33300b5b1faf3e3873d1949
parentcfe0bb69c9a16ddfe121de91f725b74b9e5bbb54 (diff)
downloadmongo-eaca0f11f42f149c7db08c7a81c99a410cf8347c.tar.gz
SERVER-47067 Fix casing of index builds library function name
(cherry picked from commit e42c56c7ca57279dcbe8c778c4073a06f5f87c21)
-rw-r--r--jstests/noPassthrough/commit_quorum.js2
-rw-r--r--jstests/noPassthrough/libs/index_build.js2
-rw-r--r--jstests/noPassthrough/rolling_index_builds_secondaries_vote_immediately.js2
-rw-r--r--jstests/replsets/hybrid_index_build_majority_commit_quorum_behavior.js2
4 files changed, 4 insertions, 4 deletions
diff --git a/jstests/noPassthrough/commit_quorum.js b/jstests/noPassthrough/commit_quorum.js
index 1752defc08e..c240ad01f13 100644
--- a/jstests/noPassthrough/commit_quorum.js
+++ b/jstests/noPassthrough/commit_quorum.js
@@ -25,7 +25,7 @@ replSet.initiate();
const primary = replSet.getPrimary();
if (!(IndexBuildTest.supportsTwoPhaseIndexBuild(primary) &&
- IndexBuildTest.IndexBuildCommitQuorumEnabled(primary))) {
+ IndexBuildTest.indexBuildCommitQuorumEnabled(primary))) {
jsTestLog(
'Skipping test because two phase index build and index build commit quorum are not supported.');
replSet.stopSet();
diff --git a/jstests/noPassthrough/libs/index_build.js b/jstests/noPassthrough/libs/index_build.js
index 3c2318c0a13..e67cc602bf9 100644
--- a/jstests/noPassthrough/libs/index_build.js
+++ b/jstests/noPassthrough/libs/index_build.js
@@ -212,7 +212,7 @@ var IndexBuildTest = class {
/**
* Returns true if majority commit quorum is supported by two phase index builds.
*/
- static IndexBuildCommitQuorumEnabled(conn) {
+ static indexBuildCommitQuorumEnabled(conn) {
return assert
.commandWorked(conn.adminCommand({getParameter: 1, enableIndexBuildCommitQuorum: 1}))
.enableIndexBuildCommitQuorum;
diff --git a/jstests/noPassthrough/rolling_index_builds_secondaries_vote_immediately.js b/jstests/noPassthrough/rolling_index_builds_secondaries_vote_immediately.js
index d61a1528663..6fe6421266a 100644
--- a/jstests/noPassthrough/rolling_index_builds_secondaries_vote_immediately.js
+++ b/jstests/noPassthrough/rolling_index_builds_secondaries_vote_immediately.js
@@ -45,7 +45,7 @@ let primaryDB = primary.getDB(dbName);
let coll = primaryDB.getCollection(collName);
if (!IndexBuildTest.supportsTwoPhaseIndexBuild(primary) ||
- !IndexBuildTest.IndexBuildCommitQuorumEnabled(primary)) {
+ !IndexBuildTest.indexBuildCommitQuorumEnabled(primary)) {
jsTestLog('Two phase index builds or commit quorum are not supported, skipping test.');
replTest.stopSet();
return;
diff --git a/jstests/replsets/hybrid_index_build_majority_commit_quorum_behavior.js b/jstests/replsets/hybrid_index_build_majority_commit_quorum_behavior.js
index 0219a97691b..d188c2228b5 100644
--- a/jstests/replsets/hybrid_index_build_majority_commit_quorum_behavior.js
+++ b/jstests/replsets/hybrid_index_build_majority_commit_quorum_behavior.js
@@ -21,7 +21,7 @@ const primary = rst.getPrimary();
const secondary = rst.getSecondary();
if (!(IndexBuildTest.supportsTwoPhaseIndexBuild(primary) &&
- IndexBuildTest.IndexBuildCommitQuorumEnabled(primary))) {
+ IndexBuildTest.indexBuildCommitQuorumEnabled(primary))) {
jsTestLog(
'Skipping test because two phase index build and index build commit quorum are not supported.');
rst.stopSet();