mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 21:49:33 +02:00
oeqa/selftest/cases/tinfoil.py: increase timeout 60->120s test_wait_event
The test is timing out on fedora autobuilder workers (From OE-Core rev: f8e726479d5f4d89f9a7cf8babfe25fd5c73f66e) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
34ba446157
commit
ee9345f864
@@ -100,9 +100,9 @@ class TinfoilTests(OESelftestTestCase):
|
|||||||
eventreceived = False
|
eventreceived = False
|
||||||
commandcomplete = False
|
commandcomplete = False
|
||||||
start = time.time()
|
start = time.time()
|
||||||
# Wait for maximum 60s in total so we'd detect spurious heartbeat events for example
|
# Wait for maximum 120s in total so we'd detect spurious heartbeat events for example
|
||||||
while (not (eventreceived == True and commandcomplete == True)
|
while (not (eventreceived == True and commandcomplete == True)
|
||||||
and (time.time() - start < 60)):
|
and (time.time() - start < 120)):
|
||||||
# if we received both events (on let's say a good day), we are done
|
# if we received both events (on let's say a good day), we are done
|
||||||
event = tinfoil.wait_event(1)
|
event = tinfoil.wait_event(1)
|
||||||
if event:
|
if event:
|
||||||
|
|||||||
Reference in New Issue
Block a user