summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-16 14:44:52 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-18 11:44:55 +0100
commit482cee03f275001a66bcbdb86d51e74692ef6056 (patch)
tree681151b7b632fff7b52e83562ae539df1a7b8cb3 /meta
parenta8fef8bee7212d42b075d200a7901222086fa3c0 (diff)
downloadpoky-482cee03f275001a66bcbdb86d51e74692ef6056.tar.gz
selftest/tinfoil: Increase wait event timeout
We're seeing this on the autobuilder when IO load is high. Increase the timeout to give this a better chance of working out ok since there is no particular reason we only need to wait 5s and searching for files is IO sensitive. [YOCTO #14001] (From OE-Core rev: c847ed207795bc03f791ee5a3348fa5860c53e70) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/selftest/cases/tinfoil.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/tinfoil.py b/meta/lib/oeqa/selftest/cases/tinfoil.py
index d1aa7b9afd..206168ed00 100644
--- a/meta/lib/oeqa/selftest/cases/tinfoil.py
+++ b/meta/lib/oeqa/selftest/cases/tinfoil.py
@@ -100,8 +100,9 @@ class TinfoilTests(OESelftestTestCase):
100 eventreceived = False 100 eventreceived = False
101 commandcomplete = False 101 commandcomplete = False
102 start = time.time() 102 start = time.time()
103 # Wait for 5s in total so we'd detect spurious heartbeat events for example 103 # Wait for 10s in total so we'd detect spurious heartbeat events for example
104 while time.time() - start < 5: 104 # The test is IO load sensitive too
105 while time.time() - start < 10:
105 event = tinfoil.wait_event(1) 106 event = tinfoil.wait_event(1)
106 if event: 107 if event:
107 if isinstance(event, bb.command.CommandCompleted): 108 if isinstance(event, bb.command.CommandCompleted):