autotest: increase button message timeout to allow for Valgrind speed

This commit is contained in:
Peter Barker 2021-02-18 11:33:32 +11:00 committed by Peter Barker
parent ad06a616b8
commit 2c1df16442
1 changed files with 1 additions and 1 deletions

View File

@ -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))