diff options
Diffstat (limited to 'test/acceptor_SUITE.erl')
-rw-r--r-- | test/acceptor_SUITE.erl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/acceptor_SUITE.erl b/test/acceptor_SUITE.erl index 851add3..517445b 100644 --- a/test/acceptor_SUITE.erl +++ b/test/acceptor_SUITE.erl @@ -111,7 +111,8 @@ groups() -> misc_set_transport_options, misc_wait_for_connections, misc_multiple_ip_local_socket_opts, - misc_connection_alarms + misc_connection_alarms, + misc_stop_unknown_listener ]}, {supervisor, [ connection_type_supervisor, connection_type_supervisor_separate_from_connection, @@ -659,6 +660,11 @@ do_flush_connection_alarms(Name) -> ok end. +misc_stop_unknown_listener(_) -> + doc("Ensure that stopping an unknown listener returns an error."), + {error, not_found} = ranch:stop_listener(make_ref()), + ok. + %% ssl. ssl_accept_error(_) -> |