summaryrefslogtreecommitdiff
path: root/src/mongo/s/sharding_test_fixture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/sharding_test_fixture.cpp')
-rw-r--r--src/mongo/s/sharding_test_fixture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/sharding_test_fixture.cpp b/src/mongo/s/sharding_test_fixture.cpp
index 1029febad24..a203d24d518 100644
--- a/src/mongo/s/sharding_test_fixture.cpp
+++ b/src/mongo/s/sharding_test_fixture.cpp
@@ -111,7 +111,7 @@ void ShardingTestFixture::setUp() {
auto tlMock = stdx::make_unique<transport::TransportLayerMock>();
_transportLayer = tlMock.get();
service->setTransportLayer(std::move(tlMock));
- _transportLayer->start();
+ _transportLayer->start().transitional_ignore();
// Set the newly created service context to be the current global context so that tests,
// which invoke code still referencing getGlobalServiceContext will work properly.
@@ -148,7 +148,7 @@ void ShardingTestFixture::setUp() {
std::unique_ptr<ShardingCatalogClientImpl> catalogClient(
stdx::make_unique<ShardingCatalogClientImpl>(std::move(uniqueDistLockManager)));
_catalogClient = catalogClient.get();
- catalogClient->startup();
+ catalogClient->startup().transitional_ignore();
ConnectionString configCS = ConnectionString::forReplicaSet(
"configRS", {HostAndPort{"TestHost1"}, HostAndPort{"TestHost2"}});