diff options
-rw-r--r-- | test/acceptor_SUITE.erl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/acceptor_SUITE.erl b/test/acceptor_SUITE.erl index afb6ffb..16fba78 100644 --- a/test/acceptor_SUITE.erl +++ b/test/acceptor_SUITE.erl @@ -160,6 +160,14 @@ init_per_group(_, Config) -> end_per_group(_, _) -> ok. +init_per_testcase(_, Config) -> + Config. + +end_per_testcase(_, _) -> + %% Stop all listeners that a test case may have left running. + _ = [catch ranch:stop_listener(Name) || Name <- maps:keys(ranch:info())], + ok. + %% misc. misc_bad_transport(_) -> |