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
1 changed files with 1 additions and 2 deletions

View File

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