mirror of https://github.com/ArduPilot/ardupilot
autotest: add missing unpause_sitl() calls
This commit is contained in:
parent
cafce7671d
commit
6d19f77325
|
@ -2816,6 +2816,7 @@ class AutoTest(ABC):
|
||||||
this = mav.recv(1000000)
|
this = mav.recv(1000000)
|
||||||
except Exception:
|
except Exception:
|
||||||
mav.autoreconnect = old_autoreconnect
|
mav.autoreconnect = old_autoreconnect
|
||||||
|
self.unpause_SITL()
|
||||||
raise
|
raise
|
||||||
if len(this) == 0:
|
if len(this) == 0:
|
||||||
break
|
break
|
||||||
|
@ -2855,6 +2856,7 @@ class AutoTest(ABC):
|
||||||
receive_result = mav.recv_msg()
|
receive_result = mav.recv_msg()
|
||||||
except Exception:
|
except Exception:
|
||||||
mav.autoreconnect = True
|
mav.autoreconnect = True
|
||||||
|
self.unpause_SITL()
|
||||||
raise
|
raise
|
||||||
if receive_result is None:
|
if receive_result is None:
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue