mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
autotest: increase timeout while under Valgrind
This commit is contained in:
parent
e3631aca91
commit
a7d3324759
@ -3049,7 +3049,10 @@ class AutoTest(ABC):
|
||||
self.last_sim_time_cached = ret
|
||||
self.last_sim_time_cached_wallclock = time.time()
|
||||
else:
|
||||
if time.time() - self.last_sim_time_cached_wallclock > 30:
|
||||
timeout = 30
|
||||
if self.valgrind:
|
||||
timeout *= 10
|
||||
if time.time() - self.last_sim_time_cached_wallclock > timeout:
|
||||
raise AutoTestTimeoutException("sim_time_cached is not updating!")
|
||||
return ret
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user