mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
Autotest: common: reduce timeout on ArmFeature test
This is unnessary to wait for 60s for failure, 15s is enough
This commit is contained in:
parent
83e5639225
commit
b7f46462f8
@ -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'''
|
||||
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…
Reference in New Issue
Block a user