tests: increase allowed time delta for timezone tests

One more time, for slow systems... Let it be 30 seconds.
This commit is contained in:
Marek Marczykowski-Górecki 2015-11-10 17:19:30 +01:00
parent cdc6d74c86
commit 5acd27f61e
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -636,10 +636,10 @@ class TC_00_AppVMMixin(qubes.tests.SystemTestsMixin):
format(retcode))
(vm_time, _) = self.testvm1.run("date -u +%s",
passio_popen=True).communicate()
self.assertAlmostEquals(int(vm_time), int(start_time), delta=10)
self.assertAlmostEquals(int(vm_time), int(start_time), delta=30)
(vm_time, _) = self.testvm2.run("date -u +%s",
passio_popen=True).communicate()
self.assertAlmostEquals(int(vm_time), int(start_time), delta=10)
self.assertAlmostEquals(int(vm_time), int(start_time), delta=30)
(dom0_time, _) = subprocess.Popen(["date", "-u", "+%s"],
stdout=subprocess.PIPE
).communicate()