Files
qemu-esp-boards/tests
Paolo Bonzini 0a4c0c3f90 qemu-iotests: avoid spurious failure on test 109
In some cases it is possible that query-io-status is called just
before the job is completed, causing

    -{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_COMPLETED", "data": {"device": "src", "len": 31457280, "offset": OFFSET, "speed": 0, "type": "mirror", "error": "Operation not permitted"}}
    -{"return": []}
    +{"return": [{"io-status": "ok", "device": "src", "busy": true, "len": 31457280, "offset": OFFSET, "paused": false, "speed": 0, "ready": false, "type": "mirror"}]}

Assert that the completeion event eventually happens.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20161109162008.27287-1-pbonzini@redhat.com
Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
2016-11-14 22:47:34 -05:00
..
2016-07-25 13:23:18 -05:00
2016-10-24 15:27:19 +02:00
2016-10-26 08:29:01 -07:00
2016-07-06 10:52:03 +02:00
2016-11-14 11:15:54 -05:00
2016-11-14 11:15:54 -05:00
2016-10-17 19:22:17 +01:00
2016-09-08 18:05:22 +04:00
2016-09-08 18:05:21 +04:00
2016-09-08 17:57:32 +04:00
2016-09-08 17:57:32 +04:00
2016-11-11 20:53:23 +08:00
2016-09-08 17:57:32 +04:00