aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-06-20 15:24:36 +0200
committerLoïc Hoguin <[email protected]>2013-06-20 16:01:58 +0200
commitfdf2bc93f69a09af22eb32d063aea15e4b1146e1 (patch)
tree139fe36e57d8eb9855629ca49f7d7c0fa3bd6e0c /test
parent2923de944fa3f88fafec4318bfeb0ee59f47cee2 (diff)
downloadcowboy-fdf2bc93f69a09af22eb32d063aea15e4b1146e1.tar.gz
cowboy-fdf2bc93f69a09af22eb32d063aea15e4b1146e1.tar.bz2
cowboy-fdf2bc93f69a09af22eb32d063aea15e4b1146e1.zip
Add asn1 to the list of applications to be started for SSL
Required since R16B01. And apparently needed in some cases before.
Diffstat (limited to 'test')
-rw-r--r--test/http_SUITE.erl3
-rw-r--r--test/spdy_SUITE.erl2
2 files changed, 5 insertions, 0 deletions
diff --git a/test/http_SUITE.erl b/test/http_SUITE.erl
index 2d7f420..bdff0d0 100644
--- a/test/http_SUITE.erl
+++ b/test/http_SUITE.erl
@@ -216,6 +216,7 @@ init_per_group(https, Config) ->
Transport = ranch_ssl,
{_, Cert, Key} = ct_helper:make_certs(),
Opts = [{cert, Cert}, {key, Key}],
+ application:start(asn1),
application:start(public_key),
application:start(ssl),
{ok, _} = cowboy:start_https(https, 100, Opts ++ [{port, 0}], [
@@ -243,6 +244,7 @@ init_per_group(https_compress, Config) ->
Transport = ranch_ssl,
{_, Cert, Key} = ct_helper:make_certs(),
Opts = [{cert, Cert}, {key, Key}],
+ application:start(asn1),
application:start(public_key),
application:start(ssl),
{ok, _} = cowboy:start_https(https_compress, 100, Opts ++ [{port, 0}], [
@@ -307,6 +309,7 @@ end_per_group(Name, _) when Name =:= https; Name =:= https_compress ->
cowboy:stop_listener(Name),
application:stop(ssl),
application:stop(public_key),
+ application:stop(asn1),
ok;
end_per_group(Name, _) ->
cowboy:stop_listener(Name),
diff --git a/test/spdy_SUITE.erl b/test/spdy_SUITE.erl
index 1089991..469e5d6 100644
--- a/test/spdy_SUITE.erl
+++ b/test/spdy_SUITE.erl
@@ -42,6 +42,7 @@ init_per_suite(Config) ->
application:start(crypto),
application:start(ranch),
application:start(cowboy),
+ application:start(asn1),
application:start(public_key),
application:start(ssl),
Dir = ?config(priv_dir, Config) ++ "/static",
@@ -53,6 +54,7 @@ end_per_suite(Config) ->
ct_helper:delete_static_dir(Dir),
application:stop(ssl),
application:stop(public_key),
+ application:stop(asn1),
application:stop(cowboy),
application:stop(ranch),
application:stop(crypto),