]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/librbd: utilize unique pool for cache tier testing 20524/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 19 Feb 2018 15:25:15 +0000 (10:25 -0500)
committerPrashant D <pdhange@redhat.com>
Thu, 22 Feb 2018 00:28:09 +0000 (19:28 -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 efe165fc5d5cf4ea4dc54ca849883c2fc44dd233..d22c127ca6d44d62305aabf40092cdd98bbc9ac0 100644 (file)
@@ -2197,9 +2197,10 @@ TEST_F(TestLibRBD, ListChildren)
 
 TEST_F(TestLibRBD, ListChildrenTiered)
 {
-  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);