From ca26ed23bab9fa2cbea11a48636addb096e91bb7 Mon Sep 17 00:00:00 2001 From: "j.uhlig" Date: Fri, 18 May 2018 13:54:59 +0200 Subject: Fix intermittent test failure of misc_wait_for_connections --- test/acceptor_SUITE.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/acceptor_SUITE.erl b/test/acceptor_SUITE.erl index 56197d6..f1d707d 100644 --- a/test/acceptor_SUITE.erl +++ b/test/acceptor_SUITE.erl @@ -287,7 +287,7 @@ misc_wait_for_connections(_) -> Pid2EQ = do_create_waiter(Self, Name, '==', 2), {ok, _} = ranch:start_listener(Name, ranch_tcp, [{num_acceptors, 1}], - remove_conn_and_wait_protocol, [{remove, true, 2500}]), + echo_protocol, []), Port = ranch:get_port(Name), %% Create some connections, ensure that waiters respond. {ok, Sock1} = gen_tcp:connect("localhost", Port, []), -- cgit v1.2.3