summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2022-07-20 20:24:40 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-07-21 17:22:20 +0000
commit462ff031bb1376ed69e21c182ef0d46f1988901b (patch)
tree4541db1904eb957f7f97c2dda2b51b2defb8bb2b
parente382f48fc03c6bcc5bb89188721812b101a8d6e6 (diff)
downloadmongo-462ff031bb1376ed69e21c182ef0d46f1988901b.tar.gz
SERVER-68158 fix incorrect replica set node reference in test for listIndexes
(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 ab7bef1cc61..360577d7d6f 100644
--- a/jstests/noPassthrough/serverstatus_indexbulkbuilder.js
+++ b/jstests/noPassthrough/serverstatus_indexbulkbuilder.js
@@ -65,7 +65,7 @@ assert.eq(indexBulkBuilderSection.filesClosedForExternalSort, 1, tojson(indexBul
// The expected values in the server status should add to the numbers at the end of the resumable
// index build test case.
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;
assert.eq(indexBulkBuilderSection.count, 4, tojson(indexBulkBuilderSection));
assert.eq(indexBulkBuilderSection.filesOpenedForExternalSort, 2, tojson(indexBulkBuilderSection));