Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

Commit

Permalink
Make sure to grab GOAWAY frame
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasa committed May 16, 2015
1 parent 74c1453 commit 21f6110
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,12 +233,14 @@ def socket_handler(listener):
sock.send(f.serialize())

send_event.wait()
sock.recv(65535)
sock.close()

self._start_server(socket_handler)
with self.get_connection() as conn:
conn.connect()
send_event.set()

send_event.set()

# Check that we closed the connection.
assert conn._sock == None
Expand Down

0 comments on commit 21f6110

Please sign in to comment.