features/rbd_access.feature in uricp-0.0.36 vs features/rbd_access.feature in uricp-0.0.37

- old
+ new

@@ -78,9 +78,29 @@ And the output should contain: """ rbd clone --id libvirt 'servers/freedos.qcow2@base' 'servers/srv-testy' """ + Scenario: file URI to rbd via cache + Given a correctly initialised cache at "/tmp/uricp" + When I successfully run `uricp --dry-run --target-format 'raw' --cache '/tmp/uricp' --max-cache '1073741824B' 'file:///dev/servers/srv-testy-vol_frozen' 'rbd:/servers/srv-testy-vol'` + And the output should contain: + """ + rbd import --no-progress --id libvirt - <'/dev/servers/srv-testy-vol_frozen' 'servers/srv-testy-vol' + """ + And the output should not contain: + """ + snap create + """ + And the output should not contain: + """ + snap protect + """ + And the output should not contain: + """ + rbd clone + """ + Scenario: rbd to rbd - no cache Given a correctly initialised cache at "/tmp/uricp" When I successfully run `uricp --dry-run rbd:///servers/img-testy rbd:///servers/srv-testy` And the output should contain: """