summaryrefslogtreecommitdiff
path: root/src/mongo/s/catalog_cache_refresh_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/catalog_cache_refresh_test.cpp')
-rw-r--r--src/mongo/s/catalog_cache_refresh_test.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/s/catalog_cache_refresh_test.cpp b/src/mongo/s/catalog_cache_refresh_test.cpp
index 1a70482a348..f37436cecf9 100644
--- a/src/mongo/s/catalog_cache_refresh_test.cpp
+++ b/src/mongo/s/catalog_cache_refresh_test.cpp
@@ -315,7 +315,10 @@ TEST_F(CatalogCacheRefreshTest, ChunksBSONCorrupted) {
{shardKeyPattern.getKeyPattern().globalMin(), BSON("_id" << 0)},
ChunkVersion(1, 0, epoch, boost::none /* timestamp */),
{"0"});
- return std::vector<BSONObj>{coll.toBSON().addFields(
+ return std::vector<BSONObj>{/* collection */
+ coll.toBSON(),
+ /* chunks */
+ coll.toBSON().addFields(
BSON("chunks" << chunk1.toConfigBSON())),
BSON("BadValue"
<< "This value should not be in a chunk config document")};