features/rbd_access.feature in uricp-0.0.27 vs features/rbd_access.feature in uricp-0.0.28
- old
+ new
@@ -30,10 +30,10 @@
"""
rbd snap protect --id libvirt 'servers/freedos.qcow2@base'
"""
And the output should contain:
"""
- rbd clone --id libvirt 'servers/freedos.qcow2@base' 'servers/srv-testy'
+ rbd clone --id libvirt 'servers/freedos.qcow2@base' 'servers/srv-testy' || { [ $? -eq 22 ] && rbd create --id libvirt -s 0 'servers/srv-testy'; };
"""
Scenario: HTTP URI from file cache via unpopulated rbd cache
Given a correctly initialised cache at "/tmp/uricp"
And a 102400 byte file named "/tmp/uricp/cache/freedos.qcow2"