From b3ca5727169deaa38917edca8288dcaff9a36800 Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin Date: Sat, 26 Aug 2017 14:30:55 +0200 Subject: 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. --- lib/ssl/test/ssl_alpn_handshake_SUITE.erl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lib/ssl/test/ssl_alpn_handshake_SUITE.erl') diff --git a/lib/ssl/test/ssl_alpn_handshake_SUITE.erl b/lib/ssl/test/ssl_alpn_handshake_SUITE.erl index bd9011f3b6..055f05a900 100644 --- a/lib/ssl/test/ssl_alpn_handshake_SUITE.erl +++ b/lib/ssl/test/ssl_alpn_handshake_SUITE.erl @@ -103,8 +103,14 @@ 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) -> ssl_test_lib:ct_log_supported_protocol_versions(Config), -- cgit v1.2.3