summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Osta <luis.osta@mongodb.com>2021-10-26 15:47:50 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-26 16:23:06 +0000
commit2f228002e7c61bb3008b5d6380b520dc49e3f715 (patch)
tree7e61de22defce754c23ea6e75b21729c10093415
parent1561f427869a6ae2dd59940a2d1646a7d37830da (diff)
downloadmongo-2f228002e7c61bb3008b5d6380b520dc49e3f715.tar.gz
SERVER-58911 Remove 'isMixedVersionCluster' usage
-rw-r--r--jstests/sharding/resharding_metrics_increment.js12
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');