Skip to content

Instantly share code, notes, and snippets.

@XanClic
Created March 4, 2022 13:18
Show Gist options
  • Save XanClic/6c8ac6d7500ab11a6a1e040802abe6ac to your computer and use it in GitHub Desktop.
Save XanClic/6c8ac6d7500ab11a6a1e040802abe6ac to your computer and use it in GitHub Desktop.
diff --git a/tests/qemu-iotests/296 b/tests/qemu-iotests/296
index 099a3eeaa5..b0582044f1 100755
--- a/tests/qemu-iotests/296
+++ b/tests/qemu-iotests/296
@@ -174,8 +174,9 @@ class EncryptionSetupTestCase(iotests.QMPTestCase):
}
result = vm.qmp('x-blockdev-amend', **args)
- assert result['return'] == {}
- vm.run_job('job0')
+ iotests.log(result)
+ if 'error' not in result:
+ vm.run_job('job0')
# test that when the image opened by two qemu processes,
# neither of them can update the encryption keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment