From ca98567d7148614c684b51c0ebf6ebf507a8078e Mon Sep 17 00:00:00 2001 From: runsisi Date: Thu, 22 Nov 2018 07:42:14 +0800 Subject: [PATCH] test/librbd: metadata key for config should be prefixed with conf_ Signed-off-by: runsisi --- src/test/librbd/test_librbd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/librbd/test_librbd.cc b/src/test/librbd/test_librbd.cc index 9a6a8af842b..ea679360301 100644 --- a/src/test/librbd/test_librbd.cc +++ b/src/test/librbd/test_librbd.cc @@ -6479,7 +6479,7 @@ TEST_F(TestLibRBD, BreakLock) ASSERT_EQ(0, rbd_open(ioctx, name.c_str(), &image, NULL)); ASSERT_EQ(0, rbd_open(blacklist_ioctx, name.c_str(), &blacklist_image, NULL)); - ASSERT_EQ(0, rbd_metadata_set(image, "rbd_blacklist_on_break_lock", "true")); + ASSERT_EQ(0, rbd_metadata_set(image, "conf_rbd_blacklist_on_break_lock", "true")); ASSERT_EQ(0, rbd_lock_acquire(blacklist_image, RBD_LOCK_MODE_EXCLUSIVE)); rbd_lock_mode_t lock_mode;