Tools: autotest: increase timeout on pid tuning

This commit is contained in:
Peter Barker 2019-03-06 20:58:08 +11:00 committed by Peter Barker
parent f23c6e1624
commit b1bbe09602
1 changed files with 2 additions and 2 deletions

View File

@ -2287,12 +2287,12 @@ switch value'''
def test_pid_tuning(self):
self.progress("making sure we're not getting PID_TUNING messages")
m = self.mav.recv_match(type='PID_TUNING', blocking=True, timeout=1)
m = self.mav.recv_match(type='PID_TUNING', blocking=True, timeout=5)
if m is not None:
raise PreconditionFailedException("Receiving PID_TUNING already")
self.set_parameter("GCS_PID_MASK", 1)
self.progress("making sure we are now getting PID_TUNING messages")
m = self.mav.recv_match(type='PID_TUNING', blocking=True, timeout=1)
m = self.mav.recv_match(type='PID_TUNING', blocking=True, timeout=5)
if m is None:
raise PreconditionFailedException("Did not start to get PID_TUNING message")