summaryrefslogtreecommitdiffstats
path: root/src/test/journal
diff options
context:
space:
mode:
authorJason Dillaman <dillaman@redhat.com>2017-03-01 22:21:20 +0100
committerJason Dillaman <dillaman@redhat.com>2017-03-10 02:25:18 +0100
commit25712d33a5c4690eff37d38131a10fa976fba3b5 (patch)
treeed08a61e0b0971935277e30c153cd0a00fa6b93d /src/test/journal
parentMerge pull request #13857 from liupan1111/wip-rename-onack-to-oncommit (diff)
downloadceph-25712d33a5c4690eff37d38131a10fa976fba3b5.tar.xz
ceph-25712d33a5c4690eff37d38131a10fa976fba3b5.zip
test/librados_test_stub: separate mock cluster from connection
The plan to support independent connections sharing the same view of the mocked cluster. Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'src/test/journal')
-rw-r--r--src/test/journal/RadosTestFixture.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/journal/RadosTestFixture.cc b/src/test/journal/RadosTestFixture.cc
index 0a71a859043..1c4ed84075e 100644
--- a/src/test/journal/RadosTestFixture.cc
+++ b/src/test/journal/RadosTestFixture.cc
@@ -22,10 +22,10 @@ void RadosTestFixture::SetUpTestCase() {
}
void RadosTestFixture::TearDownTestCase() {
- ASSERT_EQ(0, destroy_one_pool_pp(_pool_name, _rados));
-
_thread_pool->stop();
delete _thread_pool;
+
+ ASSERT_EQ(0, destroy_one_pool_pp(_pool_name, _rados));
}
std::string RadosTestFixture::get_temp_oid() {