Skip to content

Commit

Permalink
Revert "test/ctlmgr: keep trying to ping on OSError"
Browse files Browse the repository at this point in the history
This reverts commit 375e821.
sbourdeauducq committed Jul 9, 2016
1 parent c4dc4e7 commit e0ed99c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions artiq/test/test_ctlmgr.py
Original file line number Diff line number Diff line change
@@ -50,8 +50,7 @@ async def wait_for_ping(self, host, port, retries=5, timeout=2):
except asyncio.TimeoutError:
timeout -= dt
except (ConnectionAbortedError, ConnectionError,
ConnectionRefusedError, ConnectionResetError,
OSError):
ConnectionRefusedError, ConnectionResetError):
await asyncio.sleep(dt)
timeout -= dt
raise asyncio.TimeoutError

0 comments on commit e0ed99c

Please sign in to comment.