summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough
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:52:19 +0000
commitb895247379d3674208c9c4d1bf76a2cc0d4c9091 (patch)
tree992a6cc0d87e52973943bba10b888cf417ee5c99 /jstests/noPassthrough
parent489a83cb9f8bde7c687c477a7c87be8abea80776 (diff)
downloadmongo-b895247379d3674208c9c4d1bf76a2cc0d4c9091.tar.gz
SERVER-68158 fix incorrect replica set node reference in test for listIndexes
(cherry picked from commit 082506444530d83a11b5ecfca52100aefc91a603)
Diffstat (limited to 'jstests/noPassthrough')
-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));