mirror of
https://github.com/ceph/ceph
synced 2025-01-02 00:52:22 +00:00
ceph_test_rados_api_misc: do not assert rbd feature match
This test fails on upgrades when we (or the server) have new features. Make it less fragile. Fixes: #10576 Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
0ab0ce7e2d
commit
9147c62989
@ -321,7 +321,8 @@ TEST_F(LibRadosMisc, Exec) {
|
||||
bufferlist::iterator iter = bl.begin();
|
||||
uint64_t all_features;
|
||||
::decode(all_features, iter);
|
||||
ASSERT_EQ(all_features, (uint64_t)RBD_FEATURES_ALL);
|
||||
// make sure *some* features are specified; don't care which ones
|
||||
ASSERT_NE(all_features, 0);
|
||||
}
|
||||
|
||||
TEST_F(LibRadosMiscPP, ExecPP) {
|
||||
@ -333,7 +334,8 @@ TEST_F(LibRadosMiscPP, ExecPP) {
|
||||
bufferlist::iterator iter = out.begin();
|
||||
uint64_t all_features;
|
||||
::decode(all_features, iter);
|
||||
ASSERT_EQ(all_features, (uint64_t)RBD_FEATURES_ALL);
|
||||
// make sure *some* features are specified; don't care which ones
|
||||
ASSERT_NE(all_features, 0);
|
||||
}
|
||||
|
||||
TEST_F(LibRadosMiscPP, Operate1PP) {
|
||||
|
Loading…
Reference in New Issue
Block a user