aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl
diff options
context:
space:
mode:
authorIngela Anderton Andin <ingela@erlang.org>2011-10-24 10:48:22 +0200
committerIngela Anderton Andin <ingela@erlang.org>2011-11-15 12:09:36 +0100
commit9ffaef655d7d3df24b7edde2900c224a858b763d (patch)
tree7cc4479fc7df447e9a3f15ecd4bc8d314a0eb7fb /lib/ssl
parent368fdeced2020ce8b6c92b7b411942d023d42e3c (diff)
downloadotp-9ffaef655d7d3df24b7edde2900c224a858b763d.tar.gz
otp-9ffaef655d7d3df24b7edde2900c224a858b763d.tar.bz2
otp-9ffaef655d7d3df24b7edde2900c224a858b763d.zip
Skip ssl_dist_SUITE if cover run, as the test server node can not communicate with the ssl nodes with erlang distribution
Diffstat (limited to 'lib/ssl')
-rw-r--r--lib/ssl/test/ssl_dist_SUITE.erl11
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/ssl/test/ssl_dist_SUITE.erl b/lib/ssl/test/ssl_dist_SUITE.erl
index 23e9268f9b..bbb9c49ec6 100644
--- a/lib/ssl/test/ssl_dist_SUITE.erl
+++ b/lib/ssl/test/ssl_dist_SUITE.erl
@@ -54,9 +54,14 @@ end_per_group(_GroupName, Config) ->
init_per_suite(Config0) ->
try crypto:start() of
ok ->
- Config = add_ssl_opts_config(Config0),
- setup_certs(Config),
- Config
+ case test_server:is_cover() of
+ false ->
+ Config = add_ssl_opts_config(Config0),
+ setup_certs(Config),
+ Config;
+ true ->
+ {skip, "Can not be covered"}
+ end
catch _:_ ->
{skip, "Crypto did not start"}
end.