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:
parent
29a26e7d69
commit
9887b925b4
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user