python/machine.py: change default wait timeout to 3 seconds
commit04f0e36eba7b1a06e413a0690d4b1a24994d99fe
authorJohn Snow <jsnow@redhat.com>
Fri, 10 Jul 2020 05:06:49 +0000 (10 01:06 -0400)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 14 Jul 2020 20:22:22 +0000 (14 22:22 +0200)
tree76cb6f3712af9d9a45f2e513402cfe760a2a7f4b
parentde6e08b5b987afbaf22e37e7f9e34421fb76ef3f
python/machine.py: change default wait timeout to 3 seconds

Machine.wait() does not appear to be used except in the acceptance tests,
and an infinite timeout by default in a test suite is not the most helpful.

Change it to 3 seconds, like the default shutdown timeout.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Tested-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20200710050649.32434-13-jsnow@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
python/qemu/machine.py