diff options
author | Christopher Caplinger <christopher.caplinger@mongodb.com> | 2021-11-19 18:10:38 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-11-19 19:03:33 +0000 |
commit | ebef2399f1672f50d4990697ee1338c39aa32ed6 (patch) | |
tree | da50da86cb755c9209fee4291a6e5aed640f3995 /jstests/replsets/tenant_migration_recipient_current_op.js | |
parent | b0ac4a3fb1790cf868f2258d6f18f07acd539ffc (diff) | |
download | mongo-ebef2399f1672f50d4990697ee1338c39aa32ed6.tar.gz |
SERVER-59793: Omit tenantId from metrics for Merge
Diffstat (limited to 'jstests/replsets/tenant_migration_recipient_current_op.js')
-rw-r--r-- | jstests/replsets/tenant_migration_recipient_current_op.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/tenant_migration_recipient_current_op.js b/jstests/replsets/tenant_migration_recipient_current_op.js index 65ad7354b83..975aa1fc8ea 100644 --- a/jstests/replsets/tenant_migration_recipient_current_op.js +++ b/jstests/replsets/tenant_migration_recipient_current_op.js @@ -61,12 +61,12 @@ for (const db of dbsToClone) { function checkStandardFieldsOK(res) { assert.eq(res.inprog.length, 1, res); assert.eq(bsonWoCompare(res.inprog[0].instanceID, kMigrationId), 0, res); - assert.eq(bsonWoCompare(res.inprog[0].tenantId, kTenantId), 0, res); assert.eq(res.inprog[0].donorConnectionString, tenantMigrationTest.getDonorRst().getURL(), res); assert.eq(bsonWoCompare(res.inprog[0].readPreference, kReadPreference), 0, res); // We don't test failovers in this test so we don't expect these counters to be incremented. assert.eq(res.inprog[0].numRestartsDueToDonorConnectionFailure, 0, res); assert.eq(res.inprog[0].numRestartsDueToRecipientFailure, 0, res); + assert.eq(bsonWoCompare(res.inprog[0].tenantId, kTenantId), 0, res); } // Check currentOp fields' expected value once the recipient is in state "consistent" or later. |