From: Jason Dillaman Date: Mon, 19 Feb 2018 15:25:15 +0000 (-0500) Subject: test/librbd: utilize unique pool for cache tier testing X-Git-Tag: v12.2.5~120^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F20550%2Fhead;p=ceph.git test/librbd: utilize unique pool for cache tier testing Fixes: http://tracker.ceph.com/issues/11502 Signed-off-by: Jason Dillaman (cherry picked from commit c42c54d0ec643b272aff225134dd0eceae946af0) Conflicts: src/test/librbd/test_librbd.cc: Resolved in TEST_F --- diff --git a/src/test/librbd/test_librbd.cc b/src/test/librbd/test_librbd.cc index 2f5d761a2ea..fb6244fb24f 100644 --- a/src/test/librbd/test_librbd.cc +++ b/src/test/librbd/test_librbd.cc @@ -3028,9 +3028,10 @@ TEST_F(TestLibRBD, ListChildrenTiered) { REQUIRE_FEATURE(RBD_FEATURE_LAYERING); - string pool_name1 = m_pool_name; + string pool_name1 = create_pool(true); string pool_name2 = create_pool(true); string pool_name3 = create_pool(true); + ASSERT_NE("", pool_name1); ASSERT_NE("", pool_name2); ASSERT_NE("", pool_name3);