diff options
author | Jason Dillaman <dillaman@redhat.com> | 2017-03-01 22:21:20 +0100 |
---|---|---|
committer | Jason Dillaman <dillaman@redhat.com> | 2017-03-10 02:25:18 +0100 |
commit | 25712d33a5c4690eff37d38131a10fa976fba3b5 (patch) | |
tree | ed08a61e0b0971935277e30c153cd0a00fa6b93d /src/test/journal | |
parent | Merge pull request #13857 from liupan1111/wip-rename-onack-to-oncommit (diff) | |
download | ceph-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.cc | 4 |
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() { |