diff options
author | Ingela Anderton Andin <[email protected]> | 2017-08-26 14:30:55 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2017-09-07 11:26:56 +0200 |
commit | 4fb77b3ed94a3ecb9b6ebf95727408443542c993 (patch) | |
tree | 34f8907b5a7c19c15b930289e7fd5eaef074b0d7 /lib/ssl/test/ssl_basic_SUITE.erl | |
parent | 5900bd977164eba24311bbf9995a4e313d4013a7 (diff) | |
download | otp-4fb77b3ed94a3ecb9b6ebf95727408443542c993.tar.gz otp-4fb77b3ed94a3ecb9b6ebf95727408443542c993.tar.bz2 otp-4fb77b3ed94a3ecb9b6ebf95727408443542c993.zip |
ssl: Make sure test initilization is clean
Otherwhise test can be wrongly initialized and will fail as they try to run
with a broken setup.
This is an addition to b3ca5727169deaa38917edca8288dcaff9a36800 that accidently
was the wrong version of that branch.
Diffstat (limited to 'lib/ssl/test/ssl_basic_SUITE.erl')
-rw-r--r-- | lib/ssl/test/ssl_basic_SUITE.erl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ssl/test/ssl_basic_SUITE.erl b/lib/ssl/test/ssl_basic_SUITE.erl index 2bbb03a854..9efde4752f 100644 --- a/lib/ssl/test/ssl_basic_SUITE.erl +++ b/lib/ssl/test/ssl_basic_SUITE.erl @@ -276,6 +276,12 @@ end_per_suite(_Config) -> application:stop(crypto). %%-------------------------------------------------------------------- + +init_per_group(GroupName, Config) when GroupName == basic_tls; + GroupName == options_tls; + GroupName == basic; + GroupName == options -> + ssl_test_lib:clean_tls_version(Config); init_per_group(GroupName, Config) -> case ssl_test_lib:is_tls_version(GroupName) andalso ssl_test_lib:sufficient_crypto_support(GroupName) of true -> |