diff options
author | Daniel P. Berrange | 2016-07-20 15:23:11 +0200 |
---|---|---|
committer | Amit Shah | 2016-07-22 09:53:28 +0200 |
commit | 238064621fcf5fabedc36d2acdfffa72c723a748 (patch) | |
tree | 1d9b8d87f26726425e7753992956d24374c32aeb /tests/migration/guestperf/shell.py | |
parent | scripts: refactor the VM class in iotests for reuse (diff) | |
download | qemu-238064621fcf5fabedc36d2acdfffa72c723a748.tar.gz qemu-238064621fcf5fabedc36d2acdfffa72c723a748.tar.xz qemu-238064621fcf5fabedc36d2acdfffa72c723a748.zip |
scripts: set timeout when waiting for qemu monitor connection
If QEMU fails to launch for some reason, the QEMUMonitorProtocol
class accept() method will wait forever in a socket accept call.
Set a timeout of 15 seconds so that we fail more gracefully
instead of hanging the test script forever
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1469020993-29426-5-git-send-email-berrange@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'tests/migration/guestperf/shell.py')
0 files changed, 0 insertions, 0 deletions