From b377eb9805de1fc3de0e1d0f1a448505409e9644 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 22 Apr 2014 20:52:08 +0200 Subject: Start applications directly from the ct hook --- test/http_SUITE.erl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'test/http_SUITE.erl') 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, -- cgit v1.2.3