Tools: autotest: fix sub reboot detection

the string we were looking for actually gets emitted just before reboot
- sometimes!
This commit is contained in:
Peter Barker 2019-03-29 17:40:54 +11:00 committed by Peter Barker
parent 6f52fa5622
commit 3ab9fa48dc
1 changed files with 1 additions and 1 deletions

View File

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