4 Commits

Author SHA1 Message Date
Sebastian Huber
f73627e364 tester/exe: Fix adjust timeouts by the step size
The bug was introduced by cfd5aa41e847752cd98cde65515df7ce45ff9665.

The code monitors the test and generates a timeout test failure.  There are two
layers of timeout, one for output and the other for a test running too long.

The test needs to generate some output within the first timeout period and the
second timeout detects if the test has run too long. The first timeout detects
a target has locked up. The second is for a test looping generating output.

With exe type tests the output is buffered in a separate thread.
2022-01-10 13:55:23 +01:00
Chris Johns
cfd5aa41e8 tester/exe: Adjust timeouts by the step size 2021-09-21 17:41:02 +10:00
Chris Johns
dac7ef233a tester/tftp: Fix recovery of timed out TFTP sessions
- Add support to retry the tftp session if the target has not
  started

- Add target handlers for the test directives to allow recovery
  on error
2021-09-19 08:31:58 +10:00
Chris Johns
cd8fa2fe74 tester: Add support for test-too-long
- A test that loops generating output did not timeout. Monitor the
  the session time and set a maximum test period.
2020-09-08 16:15:43 +10:00