summaryrefslogtreecommitdiff
path: root/src/mongo/s/sharding_router_test_fixture.cpp
diff options
context:
space:
mode:
authorBlake Oler <blake.oler@mongodb.com>2020-04-14 12:23:43 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-04-24 14:47:56 +0000
commit3cc55fa1d000155d149662488257f226ea2b1820 (patch)
treeb6d4f6467ba2b39bc718ac955576751347c65e28 /src/mongo/s/sharding_router_test_fixture.cpp
parent3566db153ea61fb10d3ef11ea917fc7bc93eac4d (diff)
downloadmongo-3cc55fa1d000155d149662488257f226ea2b1820.tar.gz
SERVER-47426 Remove ShardedConnectionInfo and pare down SetShardVersion
Diffstat (limited to 'src/mongo/s/sharding_router_test_fixture.cpp')
-rw-r--r--src/mongo/s/sharding_router_test_fixture.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/s/sharding_router_test_fixture.cpp b/src/mongo/s/sharding_router_test_fixture.cpp
index c4114df7138..b4aff842805 100644
--- a/src/mongo/s/sharding_router_test_fixture.cpp
+++ b/src/mongo/s/sharding_router_test_fixture.cpp
@@ -459,7 +459,6 @@ void ShardingTestFixture::expectSetShardVersion(const HostAndPort& expectedHost,
SetShardVersionRequest ssv =
assertGet(SetShardVersionRequest::parseFromBSON(request.cmdObj));
- ASSERT(!ssv.isInit());
ASSERT(ssv.isAuthoritative());
ASSERT_EQ(expectedShard.getHost(), ssv.getShardConnectionString().toString());
ASSERT_EQ(expectedNs, ssv.getNS());