diff options
author | Anders Svensson <[email protected]> | 2011-09-26 18:05:38 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2011-09-27 10:11:19 +0200 |
commit | 162c0d3ee30790ec5a75e20b0e2e8bc61ed92375 (patch) | |
tree | 204824ee5d500815d88631b01a0443ba33cf6289 /lib/diameter/test/diameter_sync_SUITE.erl | |
parent | 9a80440b68ca6ad37c962ecc333ff37fb7903ae6 (diff) | |
download | otp-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_sync_SUITE.erl')
-rw-r--r-- | lib/diameter/test/diameter_sync_SUITE.erl | 8 |
1 files changed, 8 insertions, 0 deletions
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. |