summaryrefslogtreecommitdiff
path: root/src/mongo/s/catalog_cache_test_fixture.cpp
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2018-02-22 16:39:56 -0500
committerEsha Maharishi <esha.maharishi@mongodb.com>2018-02-26 23:26:01 -0500
commit494bc5fa73352687f4b0a39f4b8338fc9e258cc0 (patch)
tree228054b03ff5ea42cf6ce8159ef0ef145bbc1c75 /src/mongo/s/catalog_cache_test_fixture.cpp
parent9016e62cf354824aec31a83ec453f76f59599b32 (diff)
downloadmongo-494bc5fa73352687f4b0a39f4b8338fc9e258cc0.tar.gz
SERVER-32610 Include databaseVersion when targeting by primary shard in paths that use buildVersionedRequestsForTargetedShards()
Diffstat (limited to 'src/mongo/s/catalog_cache_test_fixture.cpp')
-rw-r--r--src/mongo/s/catalog_cache_test_fixture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/catalog_cache_test_fixture.cpp b/src/mongo/s/catalog_cache_test_fixture.cpp
index 4fcb9803907..63598b1d7dc 100644
--- a/src/mongo/s/catalog_cache_test_fixture.cpp
+++ b/src/mongo/s/catalog_cache_test_fixture.cpp
@@ -145,7 +145,7 @@ std::shared_ptr<ChunkManager> CatalogCacheTestFixture::makeChunkManager(
auto routingInfo = future.timed_get(kFutureTimeout);
ASSERT(routingInfo->cm());
- ASSERT(!routingInfo->primary());
+ ASSERT(routingInfo->primary());
return routingInfo->cm();
}