diff options
author | Sam Dunietz <sam.dunietz@10gen.com> | 2016-08-02 11:47:20 -0400 |
---|---|---|
committer | Sam Dunietz <sam.dunietz@10gen.com> | 2016-08-02 11:47:20 -0400 |
commit | 30e14153dbc1e759527f9f7f854990553dd520b2 (patch) | |
tree | 0b29ed03bddaf2c13c3b21d18acbd00c1b13b309 /src/mongo/db/s | |
parent | 84893b906090da18e19e8e4880144ae3d6dacad6 (diff) | |
download | mongo-30e14153dbc1e759527f9f7f854990553dd520b2.tar.gz |
SERVER-25350 Move thread initialization from subclasses into ServiceContextMongoDTest::setup()
Diffstat (limited to 'src/mongo/db/s')
-rw-r--r-- | src/mongo/db/s/metadata_manager_test.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/s/metadata_manager_test.cpp b/src/mongo/db/s/metadata_manager_test.cpp index 375f2b46b01..69ed0f1482f 100644 --- a/src/mongo/db/s/metadata_manager_test.cpp +++ b/src/mongo/db/s/metadata_manager_test.cpp @@ -53,7 +53,6 @@ namespace { class MetadataManagerTest : public ServiceContextMongoDTest { protected: void setUp() override { - Client::initThread(getThreadName().c_str()); ServiceContextMongoDTest::setUp(); ShardingState::get(getServiceContext()) ->setScheduleCleanupFunctionForTest([](const NamespaceString& nss) {}); @@ -63,11 +62,6 @@ protected: return stdx::make_unique<CollectionMetadata>(BSON("key" << 1), ChunkVersion(1, 0, OID::gen())); } - - void tearDown() override { - ON_BLOCK_EXIT([&] { Client::destroy(); }); - ServiceContextMongoDTest::tearDown(); - } }; |