mirror of https://github.com/ArduPilot/ardupilot
autotest: increase button message timeout to allow for Valgrind speed
This commit is contained in:
parent
ad06a616b8
commit
2c1df16442
|
@ -8662,7 +8662,7 @@ switch value'''
|
|||
self.progress("### m: %s" % str(m))
|
||||
if not (m.state & mask):
|
||||
raise NotAchievedException("Bit not set in mask (got=%u want=%u)" % (m.state, mask))
|
||||
m2 = self.mav.recv_match(type='BUTTON_CHANGE', blocking=True, timeout=1)
|
||||
m2 = self.mav.recv_match(type='BUTTON_CHANGE', blocking=True, timeout=10)
|
||||
if m2 is None:
|
||||
raise NotAchievedException("Did not get repeat message")
|
||||
self.progress("### m2: %s" % str(m2))
|
||||
|
|
Loading…
Reference in New Issue