]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/librbd: utilize unique pool for cache tier testing 20550/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 19 Feb 2018 15:25:15 +0000 (10:25 -0500)
committerPrashant D <pdhange@redhat.com>
Fri, 23 Feb 2018 02:19:01 +0000 (21:19 -0500)
Fixes: http://tracker.ceph.com/issues/11502
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit c42c54d0ec643b272aff225134dd0eceae946af0)

Conflicts:
src/test/librbd/test_librbd.cc: Resolved in TEST_F

src/test/librbd/test_librbd.cc

index 2f5d761a2ea60ab51d9bc11b7a3a17bf9b817433..fb6244fb24f29520d31a902b0cb4763d2a653d8d 100644 (file)
@@ -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);