aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/test/diameter_dict_SUITE.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2011-09-19 12:30:41 +0200
committerAnders Svensson <[email protected]>2011-09-26 17:11:07 +0200
commitcfda2e2834bcb766d8f85777ac61e7cc25e25f4d (patch)
tree124b2879941cbcb5bd6c6ddd744683ae616061ab /lib/diameter/test/diameter_dict_SUITE.erl
parent2c21849168b76b2cece7f14474ed30d9f734d6e4 (diff)
downloadotp-cfda2e2834bcb766d8f85777ac61e7cc25e25f4d.tar.gz
otp-cfda2e2834bcb766d8f85777ac61e7cc25e25f4d.tar.bz2
otp-cfda2e2834bcb766d8f85777ac61e7cc25e25f4d.zip
Use groups for parallel testcase execution
Diffstat (limited to 'lib/diameter/test/diameter_dict_SUITE.erl')
-rw-r--r--lib/diameter/test/diameter_dict_SUITE.erl14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/diameter/test/diameter_dict_SUITE.erl b/lib/diameter/test/diameter_dict_SUITE.erl
index 3db9907074..170b3c1695 100644
--- a/lib/diameter/test/diameter_dict_SUITE.erl
+++ b/lib/diameter/test/diameter_dict_SUITE.erl
@@ -24,11 +24,11 @@
-module(diameter_dict_SUITE).
-export([suite/0,
- all/0]).
+ all/0,
+ groups/0]).
%% testcases
--export([scramble/1,
- append/1,
+-export([append/1,
fetch/1,
fetch_keys/1,
filter/1,
@@ -51,7 +51,10 @@ suite() ->
[{timetrap, {seconds, 10}}].
all() ->
- [scramble | tc()].
+ [{group, all} | tc()].
+
+groups() ->
+ [{all, [parallel], tc()}].
tc() ->
[append,
@@ -68,9 +71,6 @@ tc() ->
%% ===========================================================================
-scramble(Config) ->
- [] = ?util:run(?util:scramble([{?MODULE, [F, Config]} || F <- tc()])).
-
-define(KV100, [{N,[N]} || N <- lists:seq(1,100)]).
append(_) ->