aboutsummaryrefslogtreecommitdiffstats
path: root/test/acceptor_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2016-11-25 01:04:00 +0100
committerLoïc Hoguin <[email protected]>2016-11-25 01:04:00 +0100
commitf36617900ea92ad4a959ee4325da75ac3183c58d (patch)
tree9443b1ab1dd9d8952a1e1eeb57687494c186a1eb /test/acceptor_SUITE.erl
parent200653764049b4338be5768efaea8fe7c4448a5c (diff)
downloadranch-f36617900ea92ad4a959ee4325da75ac3183c58d.tar.gz
ranch-f36617900ea92ad4a959ee4325da75ac3183c58d.tar.bz2
ranch-f36617900ea92ad4a959ee4325da75ac3183c58d.zip
Small variable name tweak for better English
Diffstat (limited to 'test/acceptor_SUITE.erl')
-rw-r--r--test/acceptor_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/acceptor_SUITE.erl b/test/acceptor_SUITE.erl
index b208b36..112e073 100644
--- a/test/acceptor_SUITE.erl
+++ b/test/acceptor_SUITE.erl
@@ -573,8 +573,8 @@ supervisor_clean_restart(_) ->
doc("Verify that killing ranch_conns_sup does not crash everything "
"and that it restarts properly."),
Name = name(),
- NbAcc = 4,
- {ok, Pid} = ranch:start_listener(Name, NbAcc, ranch_tcp, [], echo_protocol, []),
+ NumAcc = 4,
+ {ok, Pid} = ranch:start_listener(Name, NumAcc, ranch_tcp, [], echo_protocol, []),
%% Trace supervisor spawns.
1 = erlang:trace(Pid, true, [procs, set_on_spawn]),
ConnsSup0 = ranch_server:get_connections_sup(Name),
@@ -589,7 +589,7 @@ supervisor_clean_restart(_) ->
AccSupPid = receive {trace, Pid, spawn, Pid3, _} -> Pid3 end,
%% ...and its acceptors.
[receive {trace, AccSupPid, spawn, _Pid, _} -> ok end ||
- _ <- lists:seq(1, NbAcc)],
+ _ <- lists:seq(1, NumAcc)],
%% No more traces then.
receive
{trace, EPid, spawn, _, _} when EPid == Pid; EPid == AccSupPid ->