]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: adjust rbd test case guards to handle new defaults 7846/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 1 Mar 2016 13:32:39 +0000 (08:32 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 1 Mar 2016 13:32:39 +0000 (08:32 -0500)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/pybind/test_rbd.py

index e77a0269203009d8e989318422cc15467b460f7c..04a3a3820da920861e7cb1f4d0f66bb311ea2f9e 100644 (file)
@@ -37,8 +37,7 @@ def setup_module():
     ioctx = rados.open_ioctx(pool_name)
     global features
     features = os.getenv("RBD_FEATURES")
-    if features is not None:
-        features = int(features)
+    features = int(features) if features is not None else 61
 
 def teardown_module():
     global ioctx