From de3e74e3713887b5b721a7e8a48117618d2d656c Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Mon, 19 Feb 2018 10:25:15 -0500 Subject: [PATCH] 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 --- src/test/librbd/test_librbd.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.47.3