diff options
author | Ingela Anderton Andin <[email protected]> | 2017-08-26 14:30:55 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2017-09-01 16:15:24 +0200 |
commit | b3ca5727169deaa38917edca8288dcaff9a36800 (patch) | |
tree | ff04315517b92fcf24bc751df99d1ba2ec5e7b0f /lib/ssl/test/ssl_payload_SUITE.erl | |
parent | 3bc5c3b35b3151143dffe94290c9ddf29b1b10d6 (diff) | |
download | otp-b3ca5727169deaa38917edca8288dcaff9a36800.tar.gz otp-b3ca5727169deaa38917edca8288dcaff9a36800.tar.bz2 otp-b3ca5727169deaa38917edca8288dcaff9a36800.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.
Diffstat (limited to 'lib/ssl/test/ssl_payload_SUITE.erl')
-rw-r--r-- | lib/ssl/test/ssl_payload_SUITE.erl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/ssl/test/ssl_payload_SUITE.erl b/lib/ssl/test/ssl_payload_SUITE.erl index cb1957327a..ef05241759 100644 --- a/lib/ssl/test/ssl_payload_SUITE.erl +++ b/lib/ssl/test/ssl_payload_SUITE.erl @@ -95,8 +95,13 @@ init_per_group(GroupName, Config) -> Config end. -end_per_group(_GroupName, Config) -> - Config. +end_per_group(GroupName, Config) -> + case ssl_test_lib:is_tls_version(GroupName) of + true -> + ssl_test_lib:clean_tls_version(Config); + false -> + Config + end. init_per_testcase(TestCase, Config) when TestCase == server_echos_passive_huge; TestCase == server_echos_active_once_huge; |