aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/http_SUITE.erl6
1 files changed, 4 insertions, 2 deletions
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.