X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Ftest%2Fmulti_stress_watch.cc;h=f105c46e9b0a4f10c6c9aa5332823678eab91290;hb=c07f9fc5a4f48397831383549fb0482b93480643;hp=9b1b715f34828964a69c40b0d26ed7f0a2454732;hpb=9439ae556f035e65c9c107ae13ddd09457dbbecd;p=ceph.git diff --git a/ceph/src/test/multi_stress_watch.cc b/ceph/src/test/multi_stress_watch.cc index 9b1b715f3..f105c46e9 100644 --- a/ceph/src/test/multi_stress_watch.cc +++ b/ceph/src/test/multi_stress_watch.cc @@ -42,6 +42,7 @@ test_loop(Rados &cluster, std::string pool_name, std::string obj_name) std::cerr << "ioctx_create " << pool_name << " failed with " << ret << std::endl; exit(1); } + ioctx.application_enable("rados", true); ret = ioctx.create(obj_name, false); if (ret < 0) { @@ -64,6 +65,11 @@ test_loop(Rados &cluster, std::string pool_name, std::string obj_name) } ioctx.close(); + ret = cluster.pool_delete(pool_name.c_str()); + if (ret < 0) { + std::cerr << "pool_delete failed with " << ret << std::endl; + exit(1); + } } #pragma GCC diagnostic pop