From 3ab9fa48dcb8b2cbec69d497a476d6098c8a426b Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 29 Mar 2019 17:40:54 +1100 Subject: [PATCH] Tools: autotest: fix sub reboot detection the string we were looking for actually gets emitted just before reboot - sometimes! --- Tools/autotest/ardusub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/autotest/ardusub.py b/Tools/autotest/ardusub.py index cb2bdafc96..e83eb992a9 100644 --- a/Tools/autotest/ardusub.py +++ b/Tools/autotest/ardusub.py @@ -164,7 +164,7 @@ class AutoTestSub(AutoTest): def reboot_sitl(self): """Reboot SITL instance and wait it to reconnect.""" self.mavproxy.send("reboot\n") - self.mavproxy.expect("Initialising APM") + self.mavproxy.expect("Init ArduSub") # empty mav to avoid getting old timestamps: while self.mav.recv_match(blocking=False): pass