]> code.ossystems Code Review - openembedded-core.git/commit
meta/lib/oeqa/core/tests/cases/timeout.py: add a testcase for the previous fix
authorAlexander Kanavin <alex.kanavin@gmail.com>
Tue, 20 Apr 2021 17:32:59 +0000 (19:32 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Apr 2021 09:10:43 +0000 (10:10 +0100)
commit54ef07a9aa1af8f41cfb9a4802929c918efc43c8
tree8754d0e0002bf813dfdcdfc067c9f7d68dad9bfc
parentf42a08e1aabf1ca57e0c09d69fb69cc717c7f156
meta/lib/oeqa/core/tests/cases/timeout.py: add a testcase for the previous fix

This is the sequence that didn't properly operate:

- a test case that skips and isn't executed
- a second test case that is skipped via a dependency decorator, and sets a timeout
- a third test case that takes longer than the timeout from the second
test case

Without the fix, the timeout is not cleared, and the third test case is
erroneously aborted. With the fix, the timeout is cleared and the third
test case is able to complete.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/core/tests/cases/timeout.py
meta/lib/oeqa/core/tests/test_decorators.py