diff options
-rw-r--r-- | jstests/sharding/resharding_metrics_increment.js | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/jstests/sharding/resharding_metrics_increment.js b/jstests/sharding/resharding_metrics_increment.js index a6a6e7a4857..47931f5ec45 100644 --- a/jstests/sharding/resharding_metrics_increment.js +++ b/jstests/sharding/resharding_metrics_increment.js @@ -130,13 +130,11 @@ const topology = DiscoverTopology.findConnectedNodes(mongos); "oplogEntriesApplied": e.applied, }); - if (!reshardingTest.isMixedVersionCluster()) { - verifyDict(sub.opcounters, { - "insert": e.opcounters.insert, - "update": e.opcounters.update, - "delete": e.opcounters.delete, - }); - } + verifyDict(sub.opcounters, { + "insert": e.opcounters.insert, + "update": e.opcounters.update, + "delete": e.opcounters.delete, + }); // bytesCopied is harder to pin down but it should be >0. assert.betweenIn(1, sub['bytesCopied'], 1024, 'bytesCopied'); |