Skip to content

Commit

Permalink
test: update tc
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan committed May 4, 2024
1 parent c8f5d09 commit 511c621
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/quicer_connection_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,9 @@ simple_slow_conn_server(Owner, Config, Port, HandshakeDelay) ->
ok
end,
%% test what happens if handshake twice
{error, invalid_state} = quicer:handshake(Conn),
?assertMatch(
{error, Err} when Err == closed orelse Err == invalid_state, quicer:handshake(Conn)
),
receive
done ->
quicer:close_listener(L),
Expand Down

0 comments on commit 511c621

Please sign in to comment.