mirror of
https://github.com/ceph/ceph
synced 2025-03-20 09:16:59 +00:00
test: fix ut test failure caused by lfn change
"755c685f2d
"
change the lfn_parse_object_name() return type from bool to int but does not
change the relevant test correspondingly.
Fixes: http://tracker.ceph.com/issues/15464
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
This commit is contained in:
parent
45219e0e2a
commit
bd1c548afa
@ -49,7 +49,7 @@ public:
|
||||
const std::string mangled_name = lfn_generate_object_name(hoid);
|
||||
EXPECT_EQ(mangled_expected, mangled_name);
|
||||
ghobject_t hoid_parsed;
|
||||
EXPECT_TRUE(lfn_parse_object_name(mangled_name, &hoid_parsed));
|
||||
EXPECT_EQ(0, lfn_parse_object_name(mangled_name, &hoid_parsed));
|
||||
EXPECT_EQ(hoid, hoid_parsed);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user