aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2014-06-12 15:54:50 +0200
committerIngela Anderton Andin <[email protected]>2014-06-12 15:54:50 +0200
commitbee841ab25e321961d9f2e5fe7c2a769b6a2c572 (patch)
treea205648324f1a2b25fec716680f30389f0ec2e5a
parentdc7a9868aa1259f729f8437d92a7948ba1098401 (diff)
downloadotp-bee841ab25e321961d9f2e5fe7c2a769b6a2c572.tar.gz
otp-bee841ab25e321961d9f2e5fe7c2a769b6a2c572.tar.bz2
otp-bee841ab25e321961d9f2e5fe7c2a769b6a2c572.zip
ssl: Test case stability
-rw-r--r--lib/ssl/test/ssl_basic_SUITE.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/ssl/test/ssl_basic_SUITE.erl b/lib/ssl/test/ssl_basic_SUITE.erl
index 2f440f1f3c..1da4e88077 100644
--- a/lib/ssl/test/ssl_basic_SUITE.erl
+++ b/lib/ssl/test/ssl_basic_SUITE.erl
@@ -1371,6 +1371,7 @@ tcp_connect_big() ->
[{doc,"Test what happens when a tcp tries to connect, i,e. a bad big (ssl) packet is sent first"}].
tcp_connect_big(Config) when is_list(Config) ->
+ process_flag(trap_exit, true),
ServerOpts = ?config(server_opts, Config),
{_, ServerNode, Hostname} = ssl_test_lib:run_where(Config),
TcpOpts = [binary, {reuseaddr, true}],
@@ -1396,7 +1397,9 @@ tcp_connect_big(Config) when is_list(Config) ->
{Server, {error, timeout}} ->
ct:fail("hangs");
{Server, {error, Error}} ->
- ct:log("Error ~p", [Error])
+ ct:log("Error ~p", [Error]);
+ {'EXIT', Server, _} ->
+ ok
end
end.