aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-12-05 16:27:40 +0100
committerLukas Larsson <[email protected]>2011-12-08 12:24:46 +0100
commit80382a7d75c25351573a3b4b7e3efbf07b874eab (patch)
tree15886e0beebc7a30c36f192f0ed7311f8117c128 /lib
parentac3cbe8bee6b826004c02a1d21f8093899716b33 (diff)
downloadotp-80382a7d75c25351573a3b4b7e3efbf07b874eab.tar.gz
otp-80382a7d75c25351573a3b4b7e3efbf07b874eab.tar.bz2
otp-80382a7d75c25351573a3b4b7e3efbf07b874eab.zip
Add explanatory text for tc failure
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/test/gen_tcp_misc_SUITE.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/kernel/test/gen_tcp_misc_SUITE.erl b/lib/kernel/test/gen_tcp_misc_SUITE.erl
index c1c5ff8b81..3da4b07c05 100644
--- a/lib/kernel/test/gen_tcp_misc_SUITE.erl
+++ b/lib/kernel/test/gen_tcp_misc_SUITE.erl
@@ -1031,6 +1031,7 @@ busy_send_loop(Server, Client, N) ->
{Server,send} ->
?line busy_send_2(Server, Client, N+1)
after 10000 ->
+ %% If this happens, see busy_send_srv
?t:fail({timeout,{server,not_send,flush([])}})
end
end.
@@ -1050,7 +1051,9 @@ busy_send_2(Server, Client, _N) ->
busy_send_srv(L, Master, Msg) ->
%% Server
- %%
+ %% Sometimes this accept does not return, do not really know why
+ %% but is causes the timeout error in busy_send_loop to be
+ %% triggered. Only happens on OS X Leopard?!?
{ok,Socket} = gen_tcp:accept(L),
busy_send_srv_loop(Socket, Master, Msg).