Tools: autotest: allow tracker to be armed between tests

This commit is contained in:
Peter Barker 2019-09-25 12:47:26 +10:00 committed by Peter Barker
parent 4c40640238
commit b97b41a6e8
1 changed files with 1 additions and 1 deletions

View File

@ -2055,7 +2055,7 @@ class AutoTest(ABC):
passed = False passed = False
self.wait_heartbeat() self.wait_heartbeat()
if self.armed(): if self.armed() and not self.is_tracker():
ex = ArmedAtEndOfTestException("Still armed at end of test") ex = ArmedAtEndOfTestException("Still armed at end of test")
self.progress("Armed at end of test; force-rebooting SITL") self.progress("Armed at end of test; force-rebooting SITL")
self.disarm_vehicle(force=True) self.disarm_vehicle(force=True)