]> 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)
committerAnuj Mittal <anuj.mittal@intel.com>
Mon, 26 Apr 2021 00:59:21 +0000 (08:59 +0800)
commit4665008247cd4bd28da8c8b56c8c604e2e24d2cb
tree4fe5181967d84c8a3a4f2e209142f26f9879b706
parentbe45a8271c06ffbb5d97afd33bb15b1143b6cf8d
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>
(cherry picked from commit 54ef07a9aa1af8f41cfb9a4802929c918efc43c8)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/lib/oeqa/core/tests/cases/timeout.py
meta/lib/oeqa/core/tests/test_decorators.py