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

Commit 21f6110

Browse files
committed
Make sure to grab GOAWAY frame
1 parent 74c1453 commit 21f6110

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/test_integration.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,12 +233,14 @@ def socket_handler(listener):
233233
sock.send(f.serialize())
234234

235235
send_event.wait()
236+
sock.recv(65535)
236237
sock.close()
237238

238239
self._start_server(socket_handler)
239240
with self.get_connection() as conn:
240241
conn.connect()
241-
send_event.set()
242+
243+
send_event.set()
242244

243245
# Check that we closed the connection.
244246
assert conn._sock == None

0 commit comments

Comments
 (0)