From cfda2e2834bcb766d8f85777ac61e7cc25e25f4d Mon Sep 17 00:00:00 2001 From: Anders Svensson Date: Mon, 19 Sep 2011 12:30:41 +0200 Subject: Use groups for parallel testcase execution --- lib/diameter/test/diameter_sync_SUITE.erl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/diameter/test/diameter_sync_SUITE.erl') diff --git a/lib/diameter/test/diameter_sync_SUITE.erl b/lib/diameter/test/diameter_sync_SUITE.erl index 1b1fec8281..ecd935bd98 100644 --- a/lib/diameter/test/diameter_sync_SUITE.erl +++ b/lib/diameter/test/diameter_sync_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, - call/1, +-export([call/1, cast/1, timeout/1, flush/1]). @@ -46,7 +46,10 @@ suite() -> [{timetrap, {seconds, 10}}]. all() -> - [scramble | tc()]. + [{group, all} | tc()]. + +groups() -> + [{all, [parallel], tc()}]. tc() -> [call, @@ -63,9 +66,6 @@ end_per_suite(_Config) -> %% =========================================================================== -scramble(Config) -> - [] = ?util:run(?util:scramble([{?MODULE, [F, Config]} || F <- tc()])). - call(_) -> Ref = make_ref(), Q = {q, Ref}, -- cgit v1.2.3