autotest: unload MAVProxy module log after use

This commit is contained in:
Peter Barker 2019-12-04 13:52:09 +11:00 committed by Peter Barker
parent 60a2b8a8b1
commit 5e4162b997

View File

@ -619,6 +619,8 @@ class AutoTest(ABC):
self.mavproxy.send("set shownoise 0\n")
self.mavproxy.send("log download latest %s\n" % filename)
self.mavproxy.expect("Finished downloading", timeout=timeout)
self.mavproxy.send("module unload log\n")
self.mavproxy.expect("Unloaded module log")
self.drain_mav_unparsed()
self.wait_heartbeat()
self.wait_heartbeat()