aboutsummaryrefslogtreecommitdiffstats
path: root/test/spdy_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-04-22 20:52:08 +0200
committerLoïc Hoguin <[email protected]>2014-04-22 20:52:08 +0200
commitb377eb9805de1fc3de0e1d0f1a448505409e9644 (patch)
tree3c338c45247a8e2ff35099dbec0cae2be09861e2 /test/spdy_SUITE.erl
parent75218c4be0e9a2b55c871499668ceba56f7e4aa9 (diff)
downloadcowboy-b377eb9805de1fc3de0e1d0f1a448505409e9644.tar.gz
cowboy-b377eb9805de1fc3de0e1d0f1a448505409e9644.tar.bz2
cowboy-b377eb9805de1fc3de0e1d0f1a448505409e9644.zip
Start applications directly from the ct hook
Diffstat (limited to 'test/spdy_SUITE.erl')
-rw-r--r--test/spdy_SUITE.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/spdy_SUITE.erl b/test/spdy_SUITE.erl
index c9a81e1..8ed747a 100644
--- a/test/spdy_SUITE.erl
+++ b/test/spdy_SUITE.erl
@@ -31,16 +31,13 @@ init_per_suite(Config) ->
Version when Version < "5.2.1" ->
{skip, "No NPN support in SSL application."};
_ ->
- cowboy_test:start([cowboy, gun]),
Dir = config(priv_dir, Config) ++ "/static",
ct_helper:create_static_dir(Dir),
[{static_dir, Dir}|Config]
end.
end_per_suite(Config) ->
- Dir = config(static_dir, Config),
- ct_helper:delete_static_dir(Dir),
- cowboy_test:stop([cowboy, gun]).
+ ct_helper:delete_static_dir(config(static_dir, Config)).
init_per_group(Name, Config) ->
{_, Cert, Key} = ct_helper:make_certs(),