aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/test/diameter_dict_SUITE.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2011-09-26 18:05:38 +0200
committerAnders Svensson <[email protected]>2011-09-27 10:11:19 +0200
commit162c0d3ee30790ec5a75e20b0e2e8bc61ed92375 (patch)
tree204824ee5d500815d88631b01a0443ba33cf6289 /lib/diameter/test/diameter_dict_SUITE.erl
parent9a80440b68ca6ad37c962ecc333ff37fb7903ae6 (diff)
downloadotp-162c0d3ee30790ec5a75e20b0e2e8bc61ed92375.tar.gz
otp-162c0d3ee30790ec5a75e20b0e2e8bc61ed92375.tar.bz2
otp-162c0d3ee30790ec5a75e20b0e2e8bc61ed92375.zip
Explicit {init,end}_per_group/2 to work around ct bug
Without these functions the result pages are currently mangled. The overview page shows that no suites have run, even though all in fact are, and diameter-specific page is truncated after the dict suite, which is the first suite that relied on an implicit {init,end}_per_group/2. This is apparently the result of a recent common_test commit.
Diffstat (limited to 'lib/diameter/test/diameter_dict_SUITE.erl')
-rw-r--r--lib/diameter/test/diameter_dict_SUITE.erl10
1 files changed, 9 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)]).