diff options
author | Anders Svensson <[email protected]> | 2011-09-19 12:30:41 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2011-09-26 17:11:07 +0200 |
commit | cfda2e2834bcb766d8f85777ac61e7cc25e25f4d (patch) | |
tree | 124b2879941cbcb5bd6c6ddd744683ae616061ab /lib/diameter/test/diameter_stats_SUITE.erl | |
parent | 2c21849168b76b2cece7f14474ed30d9f734d6e4 (diff) | |
download | otp-cfda2e2834bcb766d8f85777ac61e7cc25e25f4d.tar.gz otp-cfda2e2834bcb766d8f85777ac61e7cc25e25f4d.tar.bz2 otp-cfda2e2834bcb766d8f85777ac61e7cc25e25f4d.zip |
Use groups for parallel testcase execution
Diffstat (limited to 'lib/diameter/test/diameter_stats_SUITE.erl')
-rw-r--r-- | lib/diameter/test/diameter_stats_SUITE.erl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/diameter/test/diameter_stats_SUITE.erl b/lib/diameter/test/diameter_stats_SUITE.erl index e0bf6b8c4a..85300b0d76 100644 --- a/lib/diameter/test/diameter_stats_SUITE.erl +++ b/lib/diameter/test/diameter_stats_SUITE.erl @@ -25,12 +25,12 @@ -export([suite/0, all/0, + groups/0, init_per_suite/1, end_per_suite/1]). %% testcases --export([scramble/1, - an/1, +-export([an/1, twa/1]). -define(stat, diameter_stats). @@ -42,7 +42,10 @@ suite() -> [{timetrap, {seconds, 10}}]. all() -> - [scramble | tc()]. + [{group, all} | tc()]. + +groups() -> + [{all, [parallel], tc()}]. tc() -> [an, @@ -57,9 +60,6 @@ end_per_suite(_Config) -> %% =========================================================================== -scramble(Config) -> - [] = ?util:run(?util:scramble([{?MODULE, [F, Config]} || F <- tc()])). - an(_) -> Ref = {'_', make_ref()}, true = ?stat:reg(Ref), |