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-27 11:25:33 +0000
commit01828ab1447a3a016ed3b7e68b7d8ecedd661665 (patch)
tree306c0b440491c298a61e1928983e816e8cabfacc
parent5be2c18141d6555d459b8c96ec30f2c69f8f2a30 (diff)
downloadmongo-01828ab1447a3a016ed3b7e68b7d8ecedd661665.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 74a3baa0c27..ca72e721b1f 100644
--- a/jstests/noPassthrough/serverstatus_indexbulkbuilder.js
+++ b/jstests/noPassthrough/serverstatus_indexbulkbuilder.js
@@ -93,7 +93,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, 6, ['_id_', 'a_1', 'b_1', 'c_1', 'd_1', 'e_1_a_1']);
+IndexBuildTest.assertIndexes(coll, 6, ['_id_', 'a_1', 'b_1', 'c_1', 'd_1', 'e_1_a_1']);
indexBulkBuilderSection = testDB.serverStatus().indexBulkBuilder;
assert.eq(indexBulkBuilderSection.count, 4, tojson(indexBulkBuilderSection));
assert.eq(indexBulkBuilderSection.resumed, 1, tojson(indexBulkBuilderSection));