diff options
Diffstat (limited to 'src/mongo/db/s/balancer/cluster_statistics_test.cpp')
-rw-r--r-- | src/mongo/db/s/balancer/cluster_statistics_test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/s/balancer/cluster_statistics_test.cpp b/src/mongo/db/s/balancer/cluster_statistics_test.cpp index 25bd0bb804d..3dd5357581b 100644 --- a/src/mongo/db/s/balancer/cluster_statistics_test.cpp +++ b/src/mongo/db/s/balancer/cluster_statistics_test.cpp @@ -37,14 +37,14 @@ namespace { using ShardStatistics = ClusterStatistics::ShardStatistics; -const auto emptyTagSet = std::set<std::string>(); +const auto emptyZoneSet = std::set<std::string>(); TEST(ShardStatistics, SizeMaxedTest) { ASSERT( - !ShardStatistics(ShardId("TestShardId"), 0, 0, false, emptyTagSet, "3.2.0").isSizeMaxed()); - ASSERT(!ShardStatistics(ShardId("TestShardId"), 100LL, 80LL, false, emptyTagSet, "3.2.0") + !ShardStatistics(ShardId("TestShardId"), 0, 0, false, emptyZoneSet, "3.2.0").isSizeMaxed()); + ASSERT(!ShardStatistics(ShardId("TestShardId"), 100LL, 80LL, false, emptyZoneSet, "3.2.0") .isSizeMaxed()); - ASSERT(ShardStatistics(ShardId("TestShardId"), 100LL, 110LL, false, emptyTagSet, "3.2.0") + ASSERT(ShardStatistics(ShardId("TestShardId"), 100LL, 110LL, false, emptyZoneSet, "3.2.0") .isSizeMaxed()); } |