Skip to content

Commit

Permalink
test: close stream when stream is blocked by peer
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan committed Oct 7, 2023
1 parent b5c969a commit d0f7273
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/quicer_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1770,6 +1770,7 @@ tc_stream_start_flag_fail_blocked(Config) ->
{quic, start_completed, Stm,
#{status := stream_limit_reached, stream_id := StreamID}} ->
%% Then stream start should fail with reason stream_limit_reached
quicer:close_stream(Stm, ?QUIC_STREAM_SHUTDOWN_FLAG_ABORT bor ?QUIC_STREAM_SHUTDOWN_FLAG_IMMEDIATE, 0, 1000),
ct:pal("Stream ~p limit reached", [StreamID]);
{quic, start_completed, Stm,
#{status := AtomStatus, stream_id := StreamID, is_peer_accepted := _PeerAccepted}
Expand Down

0 comments on commit d0f7273

Please sign in to comment.