From c9cc97edbd0fe270e811575760f6c3268913db0c Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 17 Dec 2021 07:31:11 +1100 Subject: [PATCH] autotest: augment estop test with post-reboot component --- Tools/autotest/common.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tools/autotest/common.py b/Tools/autotest/common.py index d8bba3865e..e674982ef0 100644 --- a/Tools/autotest/common.py +++ b/Tools/autotest/common.py @@ -10121,6 +10121,9 @@ switch value''' want_result=mavutil.mavlink.MAV_RESULT_FAILED ) self.wait_statustext("PreArm: Motors Emergency Stopped", check_context=True) + self.reboot_sitl() + self.delay_sim_time(10) + self.assert_prearm_failure("Motors Emergency Stopped") self.context_pop() self.reboot_sitl()