Browse Source

Autotest: common: reduce timeout on ArmFeature test

This is unnessary to wait for 60s for failure, 15s is enough
zr-v5.1
Pierre Kancir 5 years ago committed by Peter Barker
parent
commit
b7f46462f8
  1. 4
      Tools/autotest/common.py

4
Tools/autotest/common.py

@ -5144,7 +5144,7 @@ Also, ignores heartbeats not from our target system''' @@ -5144,7 +5144,7 @@ Also, ignores heartbeats not from our target system'''
if mode in self.get_not_disarmed_settable_modes_list():
self.progress("Not settable mode : %s" % mode)
try:
self.change_mode(mode)
self.change_mode(mode, timeout=15)
except AutoTestTimeoutException:
self.progress("PASS not able to set mode : %s disarmed" % mode)
except ValueError:
@ -5193,7 +5193,7 @@ Also, ignores heartbeats not from our target system''' @@ -5193,7 +5193,7 @@ Also, ignores heartbeats not from our target system'''
self.wait_ekf_happy()
self.wait_gps_disable()
try:
self.change_mode(mode)
self.change_mode(mode, timeout=15)
except AutoTestTimeoutException:
self.set_parameter("SIM_GPS_DISABLE", 0)
self.progress("PASS not able to set mode without Position : %s" % mode)

Loading…
Cancel
Save