Tools: plane: GCSFailsafe test: cleanup timeouts

This commit is contained in:
Shashwat Ganesh 2023-02-26 12:00:06 +05:30 committed by Peter Barker
parent 2ffae80866
commit 11fb7c64e0
1 changed files with 2 additions and 4 deletions

View File

@ -1177,8 +1177,7 @@ class AutoTestPlane(AutoTest):
})
self.progress("Disconnecting GCS")
self.set_heartbeat_rate(0)
self.delay_sim_time(5)
self.wait_mode("RTL")
self.wait_mode("RTL", timeout=5)
self.set_heartbeat_rate(self.speedup)
self.end_subtest("Completed RTL Failsafe test")
@ -1191,8 +1190,7 @@ class AutoTestPlane(AutoTest):
self.takeoff()
self.progress("Disconnecting GCS")
self.set_heartbeat_rate(0)
self.delay_sim_time(5)
self.wait_mode("FBWA")
self.wait_mode("FBWA", timeout=5)
self.set_heartbeat_rate(self.speedup)
self.end_subtest("Completed FBWA Failsafe test")