]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/workunits/rbd/verify_pool.sh
update sources to 12.2.10
[ceph.git] / ceph / qa / workunits / rbd / verify_pool.sh
index f008fb6b3cfb34a0a1193c349278db7d66b7a501..65a61199bba434e1e9e885bec2bafea107a0f996 100755 (executable)
@@ -20,8 +20,8 @@ set_up
 # creating an image in a pool-managed snapshot pool should fail
 rbd create --pool $POOL_NAME --size 1 foo && exit 1 || true
 
-# should succeed if images already exist in the pool
-rados --pool $POOL_NAME create rbd_directory
+# should succeed if the pool already marked as validated
+printf "overwrite validated" | rados --pool $POOL_NAME put rbd_info -
 rbd create --pool $POOL_NAME --size 1 foo
 
 echo OK