]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/pybind/test_rbd: allow v1 images for testing 21471/head
authorSage Weil <sage@redhat.com>
Tue, 17 Apr 2018 12:53:14 +0000 (07:53 -0500)
committerSage Weil <sage@redhat.com>
Tue, 17 Apr 2018 12:53:14 +0000 (07:53 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/test/pybind/test_rbd.py

index f0f4017b22ea9c8e7d101d776715bfe65b7a58b5..a4f422ff8104a912e5421f8a9efda645341a9a91 100644 (file)
@@ -33,6 +33,8 @@ pool_name = None
 IMG_SIZE = 8 << 20 # 8 MiB
 IMG_ORDER = 22 # 4 MiB objects
 
+os.environ["RBD_FORCE_ALLOW_V1"] = "1"
+
 def setup_module():
     global rados
     rados = Rados(conffile='')