mirror of
https://github.com/ceph/ceph
synced 2024-12-28 06:23:08 +00:00
test/librbd: metadata key for config should be prefixed with conf_
Signed-off-by: runsisi <luo.runbing@zte.com.cn>
This commit is contained in:
parent
c87e657f4e
commit
ca98567d71
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user