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:
|
except asyncio.TimeoutError:
|
||||||
timeout -= dt
|
timeout -= dt
|
||||||
except (ConnectionAbortedError, ConnectionError,
|
except (ConnectionAbortedError, ConnectionError,
|
||||||
ConnectionRefusedError, ConnectionResetError,
|
ConnectionRefusedError, ConnectionResetError):
|
||||||
OSError):
|
|
||||||
await asyncio.sleep(dt)
|
await asyncio.sleep(dt)
|
||||||
timeout -= dt
|
timeout -= dt
|
||||||
raise asyncio.TimeoutError
|
raise asyncio.TimeoutError
|
||||||
|
|
Loading…
Reference in New Issue