diff options
author | Magnus Klaar <[email protected]> | 2012-01-05 00:57:02 +0100 |
---|---|---|
committer | Magnus Klaar <[email protected]> | 2012-01-05 01:01:03 +0100 |
commit | 1592adcd4e3c8b596b499eaf14f1aeb6abfca58d (patch) | |
tree | 79cbeacf2ad694bc6774a5c04709a03957e88e81 /test | |
parent | 54d16c14ad4e91489a297d4bd4031d2b546d7963 (diff) | |
download | cowboy-1592adcd4e3c8b596b499eaf14f1aeb6abfca58d.tar.gz cowboy-1592adcd4e3c8b596b499eaf14f1aeb6abfca58d.tar.bz2 cowboy-1592adcd4e3c8b596b499eaf14f1aeb6abfca58d.zip |
only run end_static_dir for http and https
Diffstat (limited to 'test')
-rw-r--r-- | test/http_SUITE.erl | 6 |
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. |