summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/030
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-06-06 16:23:27 +0200
committerKevin Wolf <kwolf@redhat.com>2012-06-15 14:03:43 +0200
commit0fd05e8dd1ee7ae143fba3d6bcc6abe3fbeaeb34 (patch)
tree9f805351b7c914a7c8b1820dd44834e2a70d388b /tests/qemu-iotests/030
parentab68cdfaa94e74eda250b0f9a5ce2969f4eb8066 (diff)
downloadhqemu-0fd05e8dd1ee7ae143fba3d6bcc6abe3fbeaeb34.zip
hqemu-0fd05e8dd1ee7ae143fba3d6bcc6abe3fbeaeb34.tar.gz
qemu-iotests: start vms in qtest mode
This way, they will not execute any VM code at all. However, right now the cancellation test is "relying" on being slowed down by TCG executing BIOS code. So, change the timeouts. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/030')
-rwxr-xr-xtests/qemu-iotests/0302
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/030 b/tests/qemu-iotests/030
index 4ab7d62..cc671dd 100755
--- a/tests/qemu-iotests/030
+++ b/tests/qemu-iotests/030
@@ -147,7 +147,7 @@ class TestStreamStop(ImageStreamingTestCase):
result = self.vm.qmp('block-stream', device='drive0')
self.assert_qmp(result, 'return', {})
- time.sleep(1)
+ time.sleep(0.1)
events = self.vm.get_qmp_events(wait=False)
self.assertEqual(events, [], 'unexpected QMP event: %s' % events)
OpenPOWER on IntegriCloud