forked from M-Labs/artiq
Revert "test/ctlmgr: keep trying to ping on OSError"
This reverts commit 375e821bd8
.
This commit is contained in:
parent
c4dc4e7bf5
commit
e0ed99cd7b
@ -50,8 +50,7 @@ class ControllerCase(unittest.TestCase):
|
||||
except asyncio.TimeoutError:
|
||||
timeout -= dt
|
||||
except (ConnectionAbortedError, ConnectionError,
|
||||
ConnectionRefusedError, ConnectionResetError,
|
||||
OSError):
|
||||
ConnectionRefusedError, ConnectionResetError):
|
||||
await asyncio.sleep(dt)
|
||||
timeout -= dt
|
||||
raise asyncio.TimeoutError
|
||||
|
Loading…
Reference in New Issue
Block a user