This repository was archived by the owner on Jan 13, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1354,9 +1354,9 @@ def test_connection_sends_rst_frame_if_frame_size_too_large(self):
13541354 # Receive oversized frame on the client side.
13551355 # Create huge data frame that exceeds the FRAME_MAX_LEN value in order
13561356 # to trigger the reset frame with error code 6 (FRAME_SIZE_ERROR).
1357- # FRAME_MAX_LEN is a constant value for the hyper client and cannot
1357+ # FRAME_MAX_LEN is a constant value for the hyper client and cannot
13581358 # be updated as of now.
1359- d .data = b'' .join ([b"hi there client" for x in range (40 )])
1359+ d .data = b'' .join ([b"hi there client" for x in range (1500 )])
13601360 sock .buffer = BytesIO (d .serialize ())
13611361
13621362 frames = []
@@ -1381,7 +1381,7 @@ def send_rst_frame(stream_id, error_code):
13811381 def test_connection_stream_is_removed_when_receiving_out_of_range_frame (self ):
13821382 sock = DummySocket ()
13831383 d = DataFrame (1 )
1384- d .data = b'' .join ([b"hi there sir" for x in range (40 )])
1384+ d .data = b'' .join ([b"hi there sir" for x in range (1500 )])
13851385 sock .buffer = BytesIO (d .serialize ())
13861386
13871387 c = HTTP20Connection ('www.google.com' )
You can’t perform that action at this time.
0 commit comments