twister: Fix missing timeout in handler class
In PR #62947 a timeout variable was replaced with a method, but this timeout was used in another place to start pytest subprogram. This commit provides a fix. Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
This commit is contained in:
parent
6de57d0985
commit
0badef8091
|
@ -1052,7 +1052,7 @@ class ProjectBuilder(FilterBuilder):
|
|||
harness = HarnessImporter.get_harness(instance.testsuite.harness.capitalize())
|
||||
harness.configure(instance)
|
||||
if isinstance(harness, Pytest):
|
||||
harness.pytest_run(instance.handler.timeout)
|
||||
harness.pytest_run(instance.handler.get_test_timeout())
|
||||
else:
|
||||
instance.handler.handle(harness)
|
||||
|
||||
|
|
Loading…
Reference in a new issue