Skip to content

Commit

Permalink
make sure that apps are started successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkoMin committed Aug 3, 2023
1 parent 8c6d941 commit b2f7280
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lib/inets/test/httpc_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -2229,11 +2229,11 @@ esi_post(Sid, _Env, _Input) ->
mod_esi:deliver(Sid, ["OK"]).

start_apps(https) ->
inets_test_lib:start_apps([crypto, public_key, ssl]);
inets_test_lib:start_apps([asn1, crypto, public_key, ssl]);
start_apps(sim_https) ->
inets_test_lib:start_apps([crypto, public_key, ssl]);
inets_test_lib:start_apps([asn1, crypto, public_key, ssl]);
start_apps(sim_mixed) ->
inets_test_lib:start_apps([crypto, public_key, ssl]);
inets_test_lib:start_apps([asn1, crypto, public_key, ssl]);
start_apps(_) ->
ok.

Expand Down
2 changes: 1 addition & 1 deletion lib/inets/test/httpd_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -2022,7 +2022,7 @@ start_apps(Group) when Group == https_basic;
Group == https_not_sup;
Group == https_alert
->
inets_test_lib:start_apps([inets, asn1, crypto, public_key, ssl]);
inets_test_lib:start_apps([asn1, crypto, public_key, ssl, inets]);
start_apps(Group) when Group == http_basic;
Group == http_limit;
Group == http_custom;
Expand Down
2 changes: 1 addition & 1 deletion lib/inets/test/inets_test_lib.erl
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ timestamp() ->
start_apps(Apps) ->
lists:foreach(fun(App) ->
application:stop(App),
application:start(App)
ok = application:start(App)
end, Apps).
stop_apps(Apps) ->
lists:foreach(fun(App) ->
Expand Down

0 comments on commit b2f7280

Please sign in to comment.