mirror of
git://git.yoctoproject.org/poky
synced 2026-08-12 16:41:33 +00:00
bitbake: toaster/tests/functional/util: Avoid test hangs
If the element never exists, the timeout is never incremented and the test hangs indefinitely. Fix the exception handling to avoid that and allow the timeout to happen. (Bitbake rev: 9eabe923d457bbce65227da4cd71c275c32108e6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
524bbe060e
commit
7fef43d98a
@ -36,7 +36,7 @@ def wait_until_build(test_instance, state):
|
||||
if 'failed' in str(build_state).lower():
|
||||
break
|
||||
except NoSuchElementException:
|
||||
continue
|
||||
pass
|
||||
except TimeoutException:
|
||||
break
|
||||
start_time += 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user