autotest: avoid a race condition in quadplane test

this shows up on the new (faster) autotest server
This commit is contained in:
Andrew Tridgell 2016-09-08 15:25:36 +10:00
parent aa4cde1aae
commit 26e1c30b19

View File

@ -162,7 +162,7 @@ def pexpect_drain(p):
import pexpect
try:
p.read_nonblocking(1000, timeout=0)
except pexpect.TIMEOUT:
except Exception:
pass