tests: increase timeout for vm shutdown

start_standalone_with_cdrom_vm test essence is somewhere else, let not
fail it for just slow shutdown (LVM cleanup etc).
This commit is contained in:
Marek Marczykowski-Górecki 2018-10-14 05:27:36 +02:00
parent 29a26e7d69
commit 9887b925b4
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -109,7 +109,7 @@ class TC_00_Basic(qubes.tests.SystemTestCase):
# Type 'poweroff'
subprocess.check_call(['xdotool', 'search', '--name', self.vm.name,
'type', 'poweroff\r'])
for _ in range(5):
for _ in range(10):
if not self.vm.is_running():
break
self.loop.run_until_complete(asyncio.sleep(1))
@ -675,7 +675,7 @@ class TC_06_AppVMMixin(object):
# Type 'poweroff'
subprocess.check_call(['xdotool', 'search', '--name', self.vm.name,
'type', 'poweroff\r'])
for _ in range(5):
for _ in range(10):
if not self.vm.is_running():
break
self.loop.run_until_complete(asyncio.sleep(1))