Merge "Update qcow test to use qcow2 instead"

This commit is contained in:
Zuul 2021-10-13 11:41:34 +00:00 committed by Gerrit Code Review
commit 9e12eb6501

View File

@ -905,9 +905,9 @@ class TestImages(functional.FunctionalTest):
def _create_qcow(self, size):
fn = tempfile.mktemp(prefix='glance-unittest-images-',
suffix='.qcow')
suffix='.qcow2')
subprocess.check_output(
'qemu-img create -f qcow %s %i' % (fn, size),
'qemu-img create -f qcow2 %s %i' % (fn, size),
shell=True)
return fn