aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/test/ssl_to_openssl_SUITE.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2014-01-24 15:11:25 +0100
committerIngela Anderton Andin <[email protected]>2014-01-27 10:01:04 +0100
commit12858e2acee213181ab5c7e73813179e6ca06bd8 (patch)
treea9afbecca39d419fb34fa990190d97d3002f7247 /lib/ssl/test/ssl_to_openssl_SUITE.erl
parent7a838c3dfa765054303c347068ff1d02c392e3ef (diff)
downloadotp-12858e2acee213181ab5c7e73813179e6ca06bd8.tar.gz
otp-12858e2acee213181ab5c7e73813179e6ca06bd8.tar.bz2
otp-12858e2acee213181ab5c7e73813179e6ca06bd8.zip
ssl: Avoid test case timing issues
Diffstat (limited to 'lib/ssl/test/ssl_to_openssl_SUITE.erl')
-rw-r--r--lib/ssl/test/ssl_to_openssl_SUITE.erl10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/ssl/test/ssl_to_openssl_SUITE.erl b/lib/ssl/test/ssl_to_openssl_SUITE.erl
index 4682a109af..68784a175e 100644
--- a/lib/ssl/test/ssl_to_openssl_SUITE.erl
+++ b/lib/ssl/test/ssl_to_openssl_SUITE.erl
@@ -912,8 +912,16 @@ ssl2_erlang_server_openssl_client(Config) when is_list(Config) ->
{'EXIT', OpenSslPort, _} = Exit ->
ct:log("Received: ~p ~n", [Exit]),
ok
-
end,
+ receive
+ {'EXIT', _, _} = UnkownExit ->
+ Msg = lists:flatten(io_lib:format("Received: ~p ~n", [UnkownExit])),
+ ct:log(Msg),
+ ct:comment(Msg),
+ ok
+ after 0 ->
+ ok
+ end,
ssl_test_lib:check_result(Server, {error, {tls_alert, "protocol version"}}),
process_flag(trap_exit, false).