Skip to content

Commit

Permalink
Add a sleep to avoid intermittent failures
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil Booth committed Apr 6, 2019
1 parent 22e9101 commit 114d5ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ async def test_finalrpcerror(self, server):
server.port) as client:
with pytest.raises(RPCError) as e:
await client.send_request('incompatibleversion')
await sleep(0)
assert client.is_closing()

@pytest.mark.asyncio
Expand Down

0 comments on commit 114d5ac

Please sign in to comment.