Skip to content

Commit

Permalink
Merge pull request #258 from qzhuyan/fix/william/UAF-config-ctx
Browse files Browse the repository at this point in the history
test: fix unreachable code in tc
  • Loading branch information
qzhuyan authored Jan 12, 2024
2 parents 962cd66 + c34e808 commit 5427196
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/quicer_listener_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -551,8 +551,8 @@ tc_listener_conf_reload(Config) ->
receive
{quic, <<"ping_from_conn_2">>, Stream2Remote, _} -> ok
after 2000 ->
ct:fail("nothing from conn 2"),
quicer_test_lib:report_unhandled_messages()
quicer_test_lib:report_unhandled_messages(),
ct:fail("nothing from conn 2")
end,
gen_server:stop(ClientConnPid),
quicer_listener:stop_listener(QuicApp).
Expand Down Expand Up @@ -632,8 +632,8 @@ tc_listener_conf_reload_listen_on(Config) ->
receive
{quic, <<"ping_from_conn_2">>, Stream2Remote, _} -> ok
after 2000 ->
ct:fail("nothing from conn 2"),
quicer_test_lib:report_unhandled_messages()
quicer_test_lib:report_unhandled_messages(),
ct:fail("nothing from conn 2")
end,
gen_server:stop(ClientConnPid),
quicer_listener:stop_listener(QuicApp).
Expand Down Expand Up @@ -714,8 +714,8 @@ tc_listener_conf_reload_listen_on_neg(Config) ->
receive
{quic, <<"ping_from_conn_2">>, Stream2Remote, _} -> ok
after 2000 ->
ct:fail("nothing from conn 2"),
quicer_test_lib:report_unhandled_messages()
quicer_test_lib:report_unhandled_messages(),
ct:fail("nothing from conn 2")
end,

quicer_listener:stop_listener(QuicApp).
Expand Down

0 comments on commit 5427196

Please sign in to comment.