depot_autopilot.run: relax reboot timeout

It might happen, in CPU intensive tests (like TCP bulk lxip), or when
printing debugging output after a failed test (as done currently on
staging), that the run script on the host gives up and reboots the
platform too early. Thus, we raise the buffer time. A reboot should
be necessary only in rare cases anyway.

Fixes #3387
This commit is contained in:
Martin Stein 2019-05-28 15:05:07 +02:00 committed by Christian Helmuth
parent da3c52668d
commit a09150e6b4
1 changed files with 2 additions and 2 deletions

View File

@ -873,9 +873,9 @@ while {1} {
init_previous_results
}
# determine timeout for the next timeout
set min_timeout 10
set min_timeout 20
regexp {depot_autopilot\] --- Run "(.*?)" \(max ([0-9]*?) } $output] ignore last_test_pkg min_timeout
set timeout [expr $min_timeout + 10]
set timeout [expr $min_timeout + 20]
set output ""
}