Skip to content

Commit 796073d

Browse files
committed
Try fixing test_create_unix_connection_1 on slow MacOS Travis instances
1 parent f56fc75 commit 796073d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_unix.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,10 @@ def run(coro):
246246
self.loop.run_until_complete(
247247
asyncio.gather(*tasks, loop=self.loop))
248248

249+
# Give time for all transports to close.
250+
self.loop.run_until_complete(
251+
asyncio.sleep(0.1, loop=self.loop))
252+
249253
self.assertEqual(CNT, TOTAL_CNT)
250254

251255
run(client)

0 commit comments

Comments
 (0)