]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test: Cleanup pools when FlushWriteRaces is done
authorDavid Zafman <david.zafman@inktank.com>
Sat, 29 Mar 2014 00:22:47 +0000 (17:22 -0700)
committerDavid Zafman <david.zafman@inktank.com>
Tue, 1 Apr 2014 18:53:50 +0000 (11:53 -0700)
Signed-off-by: David Zafman <david.zafman@inktank.com>
src/test/librados/tier.cc

index a541c763f519e3d1b16db7ea759000505b1f861a..7ec2fab707b488c2c69902d7b3382aa78a297741 100644 (file)
@@ -1616,6 +1616,9 @@ TEST_F(LibRadosTierPP, FlushWriteRaces) {
 
   // wait for maps to settle before next test
   cluster.wait_for_latest_osdmap();
+
+  ASSERT_EQ(0, cluster.pool_delete(cache_pool_name.c_str()));
+  ASSERT_EQ(0, destroy_one_pool_pp(pool_name, cluster));
 }
 
 TEST_F(LibRadosTwoPoolsPP, FlushTryFlushRaces) {