aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/autobahn_SUITE.erl6
-rw-r--r--test/http_SUITE.erl4
-rw-r--r--test/ws_SUITE.erl2
3 files changed, 8 insertions, 4 deletions
diff --git a/test/autobahn_SUITE.erl b/test/autobahn_SUITE.erl
index b05920d..9ae9d7a 100644
--- a/test/autobahn_SUITE.erl
+++ b/test/autobahn_SUITE.erl
@@ -36,7 +36,8 @@ groups() ->
[{autobahn, [], BaseTests}].
init_per_suite(Config) ->
- application:start(inets),
+ application:start(crypto),
+ application:start(ranch),
application:start(cowboy),
%% /tmp must be used as the parent directory for the virtualenv because
%% the directory names used in CT are so long that the interpreter path
@@ -56,7 +57,8 @@ init_per_suite(Config) ->
end_per_suite(_Config) ->
os:cmd("deactivate"),
application:stop(cowboy),
- application:stop(inets),
+ application:stop(ranch),
+ application:stop(crypto),
ok.
init_per_group(autobahn, Config) ->
diff --git a/test/http_SUITE.erl b/test/http_SUITE.erl
index 2459d5e..4820f89 100644
--- a/test/http_SUITE.erl
+++ b/test/http_SUITE.erl
@@ -128,6 +128,7 @@ groups() ->
init_per_suite(Config) ->
application:start(inets),
+ application:start(crypto),
application:start(ranch),
application:start(cowboy),
Config.
@@ -135,6 +136,7 @@ init_per_suite(Config) ->
end_per_suite(_Config) ->
application:stop(cowboy),
application:stop(ranch),
+ application:stop(crypto),
application:stop(inets),
ok.
@@ -159,7 +161,6 @@ init_per_group(https, Config) ->
{password, "cowboy"}
],
Config1 = init_static_dir(Config),
- application:start(crypto),
application:start(public_key),
application:start(ssl),
{ok, _} = cowboy:start_https(https, 100, Opts ++ [{port, Port}], [
@@ -199,7 +200,6 @@ end_per_group(https, Config) ->
cowboy:stop_listener(https),
application:stop(ssl),
application:stop(public_key),
- application:stop(crypto),
end_static_dir(Config),
ok;
end_per_group(http, Config) ->
diff --git a/test/ws_SUITE.erl b/test/ws_SUITE.erl
index b732eb8..0c98df0 100644
--- a/test/ws_SUITE.erl
+++ b/test/ws_SUITE.erl
@@ -33,6 +33,7 @@ groups() ->
init_per_suite(Config) ->
application:start(inets),
+ application:start(crypto),
application:start(ranch),
application:start(cowboy),
Config.
@@ -40,6 +41,7 @@ init_per_suite(Config) ->
end_per_suite(_Config) ->
application:stop(cowboy),
application:stop(ranch),
+ application:stop(crypto),
application:stop(inets),
ok.