Revert "test/ctlmgr: keep trying to ping on OSError"

This reverts commit 375e821bd8.
This commit is contained in:
Sebastien Bourdeauducq 2016-07-09 08:59:47 +08:00
parent c4dc4e7bf5
commit e0ed99cd7b

View File

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