From 1592adcd4e3c8b596b499eaf14f1aeb6abfca58d Mon Sep 17 00:00:00 2001 From: Magnus Klaar Date: Thu, 5 Jan 2012 00:57:02 +0100 Subject: only run end_static_dir for http and https --- test/http_SUITE.erl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/http_SUITE.erl b/test/http_SUITE.erl index 9539297..ffb0beb 100644 --- a/test/http_SUITE.erl +++ b/test/http_SUITE.erl @@ -102,9 +102,11 @@ end_per_group(https, Config) -> application:stop(crypto), end_static_dir(Config), ok; -end_per_group(Listener, Config) -> +end_per_group(http, Config) -> + cowboy:stop_listener(http), + end_static_dir(Config); +end_per_group(Listener, _Config) -> cowboy:stop_listener(Listener), - end_static_dir(Config), ok. %% Dispatch configuration. -- cgit v1.2.3