diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2018-02-22 16:39:56 -0500 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2018-02-26 23:26:01 -0500 |
commit | 494bc5fa73352687f4b0a39f4b8338fc9e258cc0 (patch) | |
tree | 228054b03ff5ea42cf6ce8159ef0ef145bbc1c75 /src/mongo/s/catalog_cache_test_fixture.cpp | |
parent | 9016e62cf354824aec31a83ec453f76f59599b32 (diff) | |
download | mongo-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.cpp | 2 |
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(); } |