diff options
author | Ingela Anderton Andin <[email protected]> | 2015-05-13 15:00:11 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2015-05-19 11:38:42 +0200 |
commit | d1757c86a999a552e47dccbfb13eb65015a59fed (patch) | |
tree | 9d987b7fc80212220e70a8152753e3f5335cc982 | |
parent | a3ccd5d0b7e51d67dd65aee37695bc4338f1a195 (diff) | |
download | otp-d1757c86a999a552e47dccbfb13eb65015a59fed.tar.gz otp-d1757c86a999a552e47dccbfb13eb65015a59fed.tar.bz2 otp-d1757c86a999a552e47dccbfb13eb65015a59fed.zip |
ssl: Add cleanup to tests
-rw-r--r-- | lib/ssl/test/ssl_sni_SUITE.erl | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/ssl/test/ssl_sni_SUITE.erl b/lib/ssl/test/ssl_sni_SUITE.erl index 46cd644e4d..02f64e9057 100644 --- a/lib/ssl/test/ssl_sni_SUITE.erl +++ b/lib/ssl/test/ssl_sni_SUITE.erl @@ -142,8 +142,9 @@ run_sni_fun_handshake(Config, SNIHostname, ExpectedSNIHostname, ExpectedCN) -> {host, Hostname}, {from, self()}, {mfa, {?MODULE, recv_and_certificate, []}}, {options, ClientOptions}]), - ssl_test_lib:check_result(Server, ExpectedSNIHostname, Client, ExpectedCN). - + ssl_test_lib:check_result(Server, ExpectedSNIHostname, Client, ExpectedCN), + ssl_test_lib:close(Server), + ssl_test_lib:close(Client). run_handshake(Config, SNIHostname, ExpectedSNIHostname, ExpectedCN) -> ct:log("Start running handshake, Config: ~p, SNIHostname: ~p, ExpectedSNIHostname: ~p, ExpectedCN: ~p", [Config, SNIHostname, ExpectedSNIHostname, ExpectedCN]), @@ -165,4 +166,7 @@ run_handshake(Config, SNIHostname, ExpectedSNIHostname, ExpectedCN) -> {host, Hostname}, {from, self()}, {mfa, {?MODULE, recv_and_certificate, []}}, {options, ClientOptions}]), - ssl_test_lib:check_result(Server, ExpectedSNIHostname, Client, ExpectedCN). + ssl_test_lib:check_result(Server, ExpectedSNIHostname, Client, ExpectedCN), + ssl_test_lib:close(Server), + ssl_test_lib:close(Client). + |