diff options
Diffstat (limited to 'src/mongo/s/chunk_manager_query_test.cpp')
-rw-r--r-- | src/mongo/s/chunk_manager_query_test.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mongo/s/chunk_manager_query_test.cpp b/src/mongo/s/chunk_manager_query_test.cpp index b51886d4089..47b325d5414 100644 --- a/src/mongo/s/chunk_manager_query_test.cpp +++ b/src/mongo/s/chunk_manager_query_test.cpp @@ -521,6 +521,7 @@ TEST_F(ChunkManagerQueryTest, SnapshotQueryWithMoreShardsThanLatestMetadata) { boost::none /* timestamp */, boost::none /* timeseriesFields */, boost::none, + boost::none /* chunkSizeBytes */, true, {chunk0, chunk1}); @@ -531,11 +532,11 @@ TEST_F(ChunkManagerQueryTest, SnapshotQueryWithMoreShardsThanLatestMetadata) { chunk1.setHistory({ChunkHistory(Timestamp(20, 0), ShardId("0")), ChunkHistory(Timestamp(1, 0), ShardId("1"))}); - ChunkManager chunkManager( - ShardId("0"), - DatabaseVersion(UUID::gen()), - makeStandaloneRoutingTableHistory(oldRoutingTable.makeUpdated(boost::none, true, {chunk1})), - Timestamp(5, 0)); + ChunkManager chunkManager(ShardId("0"), + DatabaseVersion(UUID::gen()), + makeStandaloneRoutingTableHistory(oldRoutingTable.makeUpdated( + boost::none, boost::none, true, {chunk1})), + Timestamp(5, 0)); std::set<ShardId> shardIds; chunkManager.getShardIdsForRange(BSON("x" << MINKEY), BSON("x" << MAXKEY), &shardIds); |