Created
March 4, 2022 13:19
-
-
Save XanClic/c5040a46612f697baa7055b1f8e2260c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
diff --git a/tests/qemu-iotests/296.out b/tests/qemu-iotests/296.out | |
index 42205cc981..93176688c9 100644 | |
--- a/tests/qemu-iotests/296.out | |
+++ b/tests/qemu-iotests/296.out | |
@@ -1,11 +1,9 @@ | |
-{"execute": "job-dismiss", "arguments": {"id": "job0"}} | |
+{"error": {"class" "GenericError", "desc": "Job failed: Failed to get shared \"consistent read\" lock"}} | |
+{"error": {"class" "GenericError", "desc": "Job failed: Failed to get shared \"consistent read\" lock"}} | |
{"return": {}} | |
-Job failed: Failed to get shared "consistent read" lock | |
{"execute": "job-dismiss", "arguments": {"id": "job0"}} | |
{"return": {}} | |
-Job failed: Failed to get shared "consistent read" lock | |
-{"execute": "job-dismiss", "arguments": {"id": "job0"}} | |
{"return": {}} | |
{"execute": "job-dismiss", "arguments": {"id": "job0"}} | |
{"return": {}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment