autotest: augment estop test with post-reboot component

This commit is contained in:
Peter Barker 2021-12-17 07:31:11 +11:00 committed by Peter Barker
parent 474c42f9d3
commit c9cc97edbd

View File

@ -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()