Skip to content

Commit 0badef8

Browse files
gchwierfabiobaltieri
authored andcommitted
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 <[email protected]>
1 parent 6de57d0 commit 0badef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pylib/twister/twisterlib/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ def run(self):
10521052
harness = HarnessImporter.get_harness(instance.testsuite.harness.capitalize())
10531053
harness.configure(instance)
10541054
if isinstance(harness, Pytest):
1055-
harness.pytest_run(instance.handler.timeout)
1055+
harness.pytest_run(instance.handler.get_test_timeout())
10561056
else:
10571057
instance.handler.handle(harness)
10581058

0 commit comments

Comments
 (0)