summaryrefslogtreecommitdiffstats
path: root/tester
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2021-09-20 21:32:24 -1000
committerChris Johns <chrisj@rtems.org>2021-09-21 17:41:02 +1000
commitcfd5aa41e847752cd98cde65515df7ce45ff9665 (patch)
tree6ef3f2e3eee248302f09eb39a0ea6774ff88796f /tester
parenttester/tftp: Fix recovery of timed out TFTP sessions (diff)
downloadrtems-tools-cfd5aa41e847752cd98cde65515df7ce45ff9665.tar.bz2
tester/exe: Adjust timeouts by the step size
Diffstat (limited to 'tester')
-rw-r--r--tester/rt/exe.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tester/rt/exe.py b/tester/rt/exe.py
index 13b9686..626899e 100644
--- a/tester/rt/exe.py
+++ b/tester/rt/exe.py
@@ -116,12 +116,12 @@ class exe(object):
def _monitor(self, timeout):
output_length = self.output_length
step = 0.25
- period = timeout[0]
- seconds = timeout[1]
+ period = timeout[0] * step
+ seconds = timeout[1] * step
while self.process and period > 0 and seconds > 0:
current_length = self.output_length
if output_length != current_length:
- period = timeout[0]
+ period = timeout[0] * step
output_length = current_length
if seconds < step:
seconds = 0