aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-03-16 17:21:03 +0100
committerHans Nilsson <[email protected]>2018-03-16 17:21:03 +0100
commitb5b4a5141837befc6735e62921c7084c20d4edaa (patch)
tree00859d282e8a6adf6ec0360f9b3aac80383773bf
parentb134ee8b5424636efae783fa7b13a13f568fd9b9 (diff)
downloadotp-b5b4a5141837befc6735e62921c7084c20d4edaa.tar.gz
otp-b5b4a5141837befc6735e62921c7084c20d4edaa.tar.bz2
otp-b5b4a5141837befc6735e62921c7084c20d4edaa.zip
ssh: Parallelize ssh_renegotiate_SUITE
-rw-r--r--lib/ssh/test/ssh_renegotiate_SUITE.erl12
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/ssh/test/ssh_renegotiate_SUITE.erl b/lib/ssh/test/ssh_renegotiate_SUITE.erl
index 74bbc291b2..0e7e1218ab 100644
--- a/lib/ssh/test/ssh_renegotiate_SUITE.erl
+++ b/lib/ssh/test/ssh_renegotiate_SUITE.erl
@@ -38,15 +38,19 @@ all() -> [{group,default_algs},
{group,aes_gcm}
].
-groups() -> [{default_algs, [], tests()},
- {aes_gcm, [], tests()}
+groups() -> [{default_algs, [parallel], tests()},
+ {aes_gcm, [parallel], tests()}
].
tests() -> [rekey, rekey_limit, renegotiate1, renegotiate2].
%%--------------------------------------------------------------------
init_per_suite(Config) ->
- ?CHECK_CRYPTO(Config).
+ ?CHECK_CRYPTO(begin
+ ssh:start(),
+ Config
+ end
+ ).
end_per_suite(_Config) ->
ssh:stop().
@@ -71,11 +75,9 @@ end_per_group(_, Config) ->
%%--------------------------------------------------------------------
init_per_testcase(_TestCase, Config) ->
- ssh:start(),
Config.
end_per_testcase(_TestCase, _Config) ->
- ssh:stop(),
ok.
%%--------------------------------------------------------------------