From: Jason Dillaman Date: Wed, 11 Mar 2020 12:00:16 +0000 (-0400) Subject: test/rbd: fix test_rbd.test_features_to_string X-Git-Tag: v15.1.1~31^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cf79b2552a1f1efdcaf950cfaed2733310837bda;p=ceph.git 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 --- diff --git a/src/test/pybind/test_rbd.py b/src/test/pybind/test_rbd.py index 5ff6d5a752ef..1bd84e81f84a 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()