summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/base_cloner_test_fixture.cpp
diff options
context:
space:
mode:
authorMatthew Russotto <matthew.russotto@10gen.com>2018-09-19 17:05:12 -0400
committerMatthew Russotto <matthew.russotto@10gen.com>2018-09-19 17:05:22 -0400
commit4917206219237841b61b09a22848a3d1e7733adc (patch)
treeda10e99a03def408409205cac585148c1a9b792f /src/mongo/db/repl/base_cloner_test_fixture.cpp
parentfffa22c25442b291995adfca886e86f5ff7bb9eb (diff)
downloadmongo-4917206219237841b61b09a22848a3d1e7733adc.tar.gz
SERVER-36096 Convert CollectionCloner to use DBClientConnection.
Diffstat (limited to 'src/mongo/db/repl/base_cloner_test_fixture.cpp')
-rw-r--r--src/mongo/db/repl/base_cloner_test_fixture.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mongo/db/repl/base_cloner_test_fixture.cpp b/src/mongo/db/repl/base_cloner_test_fixture.cpp
index 88d0a84d996..930d901d86a 100644
--- a/src/mongo/db/repl/base_cloner_test_fixture.cpp
+++ b/src/mongo/db/repl/base_cloner_test_fixture.cpp
@@ -214,13 +214,13 @@ void BaseClonerTest::finishProcessingNetworkResponse() {
}
void BaseClonerTest::testLifeCycle() {
- // IsActiveAfterStart
+ log() << "Testing IsActiveAfterStart";
ASSERT_FALSE(getCloner()->isActive());
ASSERT_OK(getCloner()->startup());
ASSERT_TRUE(getCloner()->isActive());
tearDown();
- // StartWhenActive
+ log() << "Testing StartWhenActive";
setUp();
ASSERT_OK(getCloner()->startup());
ASSERT_TRUE(getCloner()->isActive());
@@ -228,28 +228,28 @@ void BaseClonerTest::testLifeCycle() {
ASSERT_TRUE(getCloner()->isActive());
tearDown();
- // CancelWithoutStart
+ log() << "Testing CancelWithoutStart";
setUp();
ASSERT_FALSE(getCloner()->isActive());
getCloner()->shutdown();
ASSERT_FALSE(getCloner()->isActive());
tearDown();
- // WaitWithoutStart
+ log() << "Testing WaitWithoutStart";
setUp();
ASSERT_FALSE(getCloner()->isActive());
getCloner()->join();
ASSERT_FALSE(getCloner()->isActive());
tearDown();
- // ShutdownBeforeStart
+ log() << "Testing ShutdownBeforeStart";
setUp();
getExecutor().shutdown();
ASSERT_NOT_OK(getCloner()->startup());
ASSERT_FALSE(getCloner()->isActive());
tearDown();
- // StartAndCancel
+ log() << "Testing StartAndCancel";
setUp();
ASSERT_OK(getCloner()->startup());
getCloner()->shutdown();
@@ -261,7 +261,7 @@ void BaseClonerTest::testLifeCycle() {
ASSERT_FALSE(getCloner()->isActive());
tearDown();
- // StartButShutdown
+ log() << "Testing StartButShutdown";
setUp();
ASSERT_OK(getCloner()->startup());
{