aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/test/ssl_packet_SUITE.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2016-07-08 15:01:56 +0200
committerIngela Anderton Andin <[email protected]>2016-07-08 15:31:02 +0200
commit7b5c2f573d7f5954828f5ef22418b8c42da09a70 (patch)
treefac64efbb836ed0f552783254f3aecbd75a923b2 /lib/ssl/test/ssl_packet_SUITE.erl
parenta3cc3652c81a7edf49479bab74f4cb09377623f5 (diff)
downloadotp-7b5c2f573d7f5954828f5ef22418b8c42da09a70.tar.gz
otp-7b5c2f573d7f5954828f5ef22418b8c42da09a70.tar.bz2
otp-7b5c2f573d7f5954828f5ef22418b8c42da09a70.zip
ssl: Test and test suites shall be independent of each other
Make sure ssl application has a fresh start, so that test do not fail due to that other tests did not clean up properly.
Diffstat (limited to 'lib/ssl/test/ssl_packet_SUITE.erl')
-rw-r--r--lib/ssl/test/ssl_packet_SUITE.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ssl/test/ssl_packet_SUITE.erl b/lib/ssl/test/ssl_packet_SUITE.erl
index e49d432c21..2160fa922c 100644
--- a/lib/ssl/test/ssl_packet_SUITE.erl
+++ b/lib/ssl/test/ssl_packet_SUITE.erl
@@ -140,6 +140,7 @@ init_per_suite(Config) ->
catch crypto:stop(),
try crypto:start() of
ok ->
+ ssl:stop(),
ssl:start(),
{ok, _} = make_certs:all(proplists:get_value(data_dir, Config),
proplists:get_value(priv_dir, Config)),
@@ -162,6 +163,7 @@ init_per_group(GroupName, Config) ->
{skip, "Missing crypto support"}
end;
_ ->
+ ssl:stop(),
ssl:start(),
Config
end.