summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2022-08-28 21:16:52 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-08-29 02:42:51 +0000
commitcf91e1fbb5f45590d8e356e57522648381fea93c (patch)
treea04568b51faa47c98b17adf283e512f8d7412764
parent26d023b723fceba0214fddcf1cddbbe603295b14 (diff)
downloadmongo-cf91e1fbb5f45590d8e356e57522648381fea93c.tar.gz
SERVER-68158 fix incorrect replica set node reference in test for listIndexesr4.2.23-rc0
(cherry picked from commit 082506444530d83a11b5ecfca52100aefc91a603)
-rw-r--r--jstests/noPassthrough/serverstatus_indexbulkbuilder.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/serverstatus_indexbulkbuilder.js b/jstests/noPassthrough/serverstatus_indexbulkbuilder.js
index 52ad70f04c5..93eb1f28047 100644
--- a/jstests/noPassthrough/serverstatus_indexbulkbuilder.js
+++ b/jstests/noPassthrough/serverstatus_indexbulkbuilder.js
@@ -70,7 +70,7 @@ assert.gte(indexBulkBuilderSection.filesClosedForExternalSort, 4, tojson(indexBu
// The numbers here will be different from those reported for 4.4 because 4.4 contains the external
// sorter improvements in SERVER-54761.
assert.commandWorked(coll.createIndexes([{c: 1}, {d: 1}, {e: 1, a: 1}]));
-IndexBuildTest.assertIndexes(newNodeColl, 5, ['_id_', 'a_1', 'c_1', 'd_1', 'e_1_a_1']);
+IndexBuildTest.assertIndexes(coll, 5, ['_id_', 'a_1', 'c_1', 'd_1', 'e_1_a_1']);
indexBulkBuilderSection = testDB.serverStatus().indexBulkBuilder;
jsTestLog('server status after building multiple indexes: ' + tojson(indexBulkBuilderSection));
assert.eq(indexBulkBuilderSection.count, 4, tojson(indexBulkBuilderSection));