Skip to content

Commit 187ce00

Browse files
committed
a bit more
1 parent 19fc044 commit 187ce00

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/test_server_asyncio.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,9 @@ def connection_made(self, transport):
246246
transport, protocol = yield from self.loop.create_connection(BasicClient, host='127.0.0.1',port=random_port)
247247
yield from step1
248248

249+
# On Windows we seem to need to give this an extra chance to finish,
250+
# otherwise there ends up being an active connection at the assert.
251+
yield from asyncio.sleep(0.0)
249252
server.server_close()
250253

251254
# close isn't synchronous and there's no notification that it's done

0 commit comments

Comments
 (0)