aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-07-08 08:58:12 +0200
committerAnders Svensson <[email protected]>2013-07-12 15:12:19 +0200
commitb055e89956269543b08bc7c3a17c3fadf41f0f13 (patch)
tree73491c2db4b69eed85422ab4bf6f7d61c78a8af0 /lib/diameter
parent8cece79b77952c991e62ae595bcf71cde016a052 (diff)
downloadotp-b055e89956269543b08bc7c3a17c3fadf41f0f13.tar.gz
otp-b055e89956269543b08bc7c3a17c3fadf41f0f13.tar.bz2
otp-b055e89956269543b08bc7c3a17c3fadf41f0f13.zip
Comment tweaks
Diffstat (limited to 'lib/diameter')
-rw-r--r--lib/diameter/test/diameter_transport_SUITE.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/diameter/test/diameter_transport_SUITE.erl b/lib/diameter/test/diameter_transport_SUITE.erl
index 97f4cec11f..9408fae62c 100644
--- a/lib/diameter/test/diameter_transport_SUITE.erl
+++ b/lib/diameter/test/diameter_transport_SUITE.erl
@@ -180,12 +180,13 @@ reconnect({listen, Ref}) ->
[_] = diameter_reg:wait({diameter_tcp, listener, {LRef, '_'}}),
true = diameter_reg:add_new({?MODULE, Ref, LRef}),
- %% Wait for partner to request transport death: kill to force the
- %% peer to reconnect.
+ %% Wait for partner to request transport death.
TPid = abort(SvcName, LRef, Ref),
+ %% Kill transport to force the peer to reconnect.
exit(TPid, kill),
+ %% Wait for the partner again.
abort(SvcName, LRef, Ref);
reconnect({connect, Ref}) ->
@@ -200,7 +201,7 @@ reconnect({connect, Ref}) ->
%% reconnection attempts.
abort(SvcName, Pid, Ref),
- %% Transport does down and is reestablished.
+ %% Transport goes down and is reestablished.
?RECV(#diameter_event{service = SvcName, info = {down, CRef, _, _}}),
?RECV(#diameter_event{service = SvcName, info = {reconnect, CRef, _}}),
?RECV(#diameter_event{service = SvcName, info = {up, CRef, _, _, _}}),