aboutsummaryrefslogtreecommitdiffstats
path: root/test/http_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/http_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/http_SUITE.erl')
-rw-r--r--test/http_SUITE.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/http_SUITE.erl b/test/http_SUITE.erl
index e9a308f..70ae005 100644
--- a/test/http_SUITE.erl
+++ b/test/http_SUITE.erl
@@ -72,15 +72,12 @@ groups() ->
].
init_per_suite(Config) ->
- cowboy_test:start([cowboy, gun]),
Dir = config(priv_dir, Config) ++ "/static",
ct_helper:create_static_dir(Dir),
[{static_dir, Dir}|Config].
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_tcp_group(Ref, ProtoOpts, Config) ->
Transport = ranch_tcp,