From cf79b2552a1f1efdcaf950cfaed2733310837bda Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Wed, 11 Mar 2020 08:00:16 -0400 Subject: [PATCH] test/rbd: fix test_rbd.test_features_to_string The new RBD_FEATURE_NON_PRIMARY overlaps with the legacy test for an invalid feature bit. Signed-off-by: Jason Dillaman --- src/test/pybind/test_rbd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/pybind/test_rbd.py b/src/test/pybind/test_rbd.py index 5ff6d5a752ef3..1bd84e81f84ad 100644 --- a/src/test/pybind/test_rbd.py +++ b/src/test/pybind/test_rbd.py @@ -496,7 +496,7 @@ def test_features_to_string(): features_string = rbd.features_to_string(features) eq(features_string, "layering") - features = 1024 + features = 16777216 assert_raises(InvalidArgument, rbd.features_to_string, features) @require_new_format() -- 2.39.5