diff options
author | Hans Nilsson <[email protected]> | 2017-06-01 16:16:42 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-06-07 13:12:25 +0200 |
commit | 41204092e8ded7b3444e121af405f93241783bf4 (patch) | |
tree | a5f5617c6ea67be8d1ef3ec2d2c1bf4e28b8a34f /lib/eldap | |
parent | f66bca0ad272dbed8ec0b3b1b35d182cf65f7a1d (diff) | |
download | otp-41204092e8ded7b3444e121af405f93241783bf4.tar.gz otp-41204092e8ded7b3444e121af405f93241783bf4.tar.bz2 otp-41204092e8ded7b3444e121af405f93241783bf4.zip |
eldap: Prevent test to fail at end if ssl is not available
Diffstat (limited to 'lib/eldap')
-rw-r--r-- | lib/eldap/test/eldap_basic_SUITE.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/eldap/test/eldap_basic_SUITE.erl b/lib/eldap/test/eldap_basic_SUITE.erl index ac3447cfe6..4bfb0dd291 100644 --- a/lib/eldap/test/eldap_basic_SUITE.erl +++ b/lib/eldap/test/eldap_basic_SUITE.erl @@ -119,7 +119,10 @@ init_per_suite(Config) -> {ldaps_server, LDAPS_server} | Config]. end_per_suite(_Config) -> - ssl:stop(). + try ssl:stop() + catch + _:_ -> ok + end. init_per_group(return_values, Config) -> |