diff options
-rw-r--r-- | lib/diameter/test/diameter_dict_SUITE.erl | 10 | ||||
-rw-r--r-- | lib/diameter/test/diameter_reg_SUITE.erl | 8 | ||||
-rw-r--r-- | lib/diameter/test/diameter_relay_SUITE.erl | 8 | ||||
-rw-r--r-- | lib/diameter/test/diameter_stats_SUITE.erl | 8 | ||||
-rw-r--r-- | lib/diameter/test/diameter_sync_SUITE.erl | 8 | ||||
-rw-r--r-- | lib/diameter/test/diameter_transport_SUITE.erl | 8 |
6 files changed, 49 insertions, 1 deletions
diff --git a/lib/diameter/test/diameter_dict_SUITE.erl b/lib/diameter/test/diameter_dict_SUITE.erl index 170b3c1695..87bb9727fe 100644 --- a/lib/diameter/test/diameter_dict_SUITE.erl +++ b/lib/diameter/test/diameter_dict_SUITE.erl @@ -25,7 +25,9 @@ -export([suite/0, all/0, - groups/0]). + groups/0, + init_per_group/2, + end_per_group/2]). %% testcases -export([append/1, @@ -69,6 +71,12 @@ tc() -> update, update_counter]. +init_per_group(_, Config) -> + Config. + +end_per_group(_, _) -> + ok. + %% =========================================================================== -define(KV100, [{N,[N]} || N <- lists:seq(1,100)]). diff --git a/lib/diameter/test/diameter_reg_SUITE.erl b/lib/diameter/test/diameter_reg_SUITE.erl index 83661d48de..ade824c9dd 100644 --- a/lib/diameter/test/diameter_reg_SUITE.erl +++ b/lib/diameter/test/diameter_reg_SUITE.erl @@ -26,6 +26,8 @@ -export([suite/0, all/0, groups/0, + init_per_group/2, + end_per_group/2, init_per_suite/1, end_per_suite/1]). @@ -59,6 +61,12 @@ tc() -> terms, pids]. +init_per_group(_, Config) -> + Config. + +end_per_group(_, _) -> + ok. + init_per_suite(Config) -> ok = diameter:start(), Config. diff --git a/lib/diameter/test/diameter_relay_SUITE.erl b/lib/diameter/test/diameter_relay_SUITE.erl index cd53fbfd90..0cda2df8ca 100644 --- a/lib/diameter/test/diameter_relay_SUITE.erl +++ b/lib/diameter/test/diameter_relay_SUITE.erl @@ -36,6 +36,8 @@ -export([suite/0, all/0, groups/0, + init_per_group/2, + end_per_group/2, init_per_suite/1, end_per_suite/1]). @@ -137,6 +139,12 @@ groups() -> [{all, [], Ts}, {p, [parallel], Ts}]. +init_per_group(_, Config) -> + Config. + +end_per_group(_, _) -> + ok. + init_per_suite(Config) -> ok = diameter:start(), diff --git a/lib/diameter/test/diameter_stats_SUITE.erl b/lib/diameter/test/diameter_stats_SUITE.erl index 85300b0d76..e50a0050a6 100644 --- a/lib/diameter/test/diameter_stats_SUITE.erl +++ b/lib/diameter/test/diameter_stats_SUITE.erl @@ -26,6 +26,8 @@ -export([suite/0, all/0, groups/0, + init_per_group/2, + end_per_group/2, init_per_suite/1, end_per_suite/1]). @@ -51,6 +53,12 @@ tc() -> [an, twa]. +init_per_group(_, Config) -> + Config. + +end_per_group(_, _) -> + ok. + init_per_suite(Config) -> ok = diameter:start(), Config. diff --git a/lib/diameter/test/diameter_sync_SUITE.erl b/lib/diameter/test/diameter_sync_SUITE.erl index ecd935bd98..84f77b6066 100644 --- a/lib/diameter/test/diameter_sync_SUITE.erl +++ b/lib/diameter/test/diameter_sync_SUITE.erl @@ -26,6 +26,8 @@ -export([suite/0, all/0, groups/0, + init_per_group/2, + end_per_group/2, init_per_suite/1, end_per_suite/1]). @@ -57,6 +59,12 @@ tc() -> timeout, flush]. +init_per_group(_, Config) -> + Config. + +end_per_group(_, _) -> + ok. + init_per_suite(Config) -> ok = diameter:start(), Config. diff --git a/lib/diameter/test/diameter_transport_SUITE.erl b/lib/diameter/test/diameter_transport_SUITE.erl index 7c2c1f187e..d545859fe8 100644 --- a/lib/diameter/test/diameter_transport_SUITE.erl +++ b/lib/diameter/test/diameter_transport_SUITE.erl @@ -27,6 +27,8 @@ -export([suite/0, all/0, groups/0, + init_per_group/2, + end_per_group/2, init_per_suite/1, end_per_suite/1]). @@ -110,6 +112,12 @@ tc() -> sctp_accept, sctp_connect]. +init_per_group(_, Config) -> + Config. + +end_per_group(_, _) -> + ok. + init_per_suite(Config) -> ok = diameter:start(), [{sctp, have_sctp()} | Config]. |