Skip to content

Commit

Permalink
test: adapt to macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan committed Jan 12, 2024
1 parent 295a307 commit 248bb65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/quicer_listener_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ end_per_group(_GroupName, _Config) ->
%% Reason = term()
%% @end
%%--------------------------------------------------------------------
init_per_testcase(tc_listener_conf_reload_listen_on_neg, Config) ->
{skip, "MacOs is able to listen on port 1"};
init_per_testcase(_TestCase, Config) ->
application:ensure_all_started(quicer),
quicer_test_lib:cleanup_msquic(),
Expand Down Expand Up @@ -671,7 +673,7 @@ tc_listener_conf_reload_listen_on_neg(Config) ->
ct:pal("C1 status : ~p", [sys:get_status(ClientConnPid)]),
{ok, LHandle} = quicer_listener:get_handle(QuicApp, 5000),

%% WHEN: the listener is reloaded with ListenOn (new bind address)
%% WHEN: the listener is reloaded with ListenOn (new invalid bind address)
NewPort = 1,
%% THEN: We get error
{error, _, _} = quicer_listener:reload(QuicApp, NewPort, ListenerOpts),
Expand Down

0 comments on commit 248bb65

Please sign in to comment.