aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-07-08 09:35:59 +0200
committerAnders Svensson <[email protected]>2017-08-03 17:14:28 +0200
commit58f9d631df0c256f7bc4ff3de2670b3b04e265f7 (patch)
treefe122c0b46739b1921666863167216e6053e69bc /lib
parent6c30cae16dcb1dc320c51e38c5cc477d52b46078 (diff)
downloadotp-58f9d631df0c256f7bc4ff3de2670b3b04e265f7.tar.gz
otp-58f9d631df0c256f7bc4ff3de2670b3b04e265f7.tar.bz2
otp-58f9d631df0c256f7bc4ff3de2670b3b04e265f7.zip
Rearrange group names in traffic suite
For slightly better readability in the ct logs
Diffstat (limited to 'lib')
-rw-r--r--lib/diameter/test/diameter_traffic_SUITE.erl28
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/diameter/test/diameter_traffic_SUITE.erl b/lib/diameter/test/diameter_traffic_SUITE.erl
index 8533dcaf77..100a4eebc9 100644
--- a/lib/diameter/test/diameter_traffic_SUITE.erl
+++ b/lib/diameter/test/diameter_traffic_SUITE.erl
@@ -263,25 +263,25 @@ all() ->
groups() ->
[{P, [P], Ts} || Ts <- [tc(tc())], P <- [shuffle, parallel]]
++
- [{?util:name([T,E,D,SD,S,SS,ST,CS]),
+ [{?util:name([T,R,E,D,S,ST,SS,CS]),
[],
[{group, if S -> shuffle; not S -> parallel end}]}
|| T <- ?TRANSPORTS,
+ R <- ?RFCS,
E <- ?ENCODINGS,
- D <- ?RFCS,
- SD <- ?DECODINGS,
+ D <- ?DECODINGS,
S <- ?STRING_DECODES,
- SS <- ?SENDERS,
ST <- ?CALLBACKS,
+ SS <- ?SENDERS,
CS <- ?SENDERS]
++
- [{T, [], groups([[T,E,D,SD,S,SS,ST,CS]
- || E <- ?ENCODINGS,
- D <- ?RFCS,
- SD <- ?DECODINGS,
+ [{T, [], groups([[T,R,E,D,S,ST,SS,CS]
+ || R <- ?RFCS,
+ E <- ?ENCODINGS,
+ D <- ?DECODINGS,
S <- ?STRING_DECODES,
- SS <- ?SENDERS,
ST <- ?CALLBACKS,
+ SS <- ?SENDERS,
CS <- ?SENDERS,
SS orelse CS])} %% avoid deadlock
|| T <- ?TRANSPORTS]
@@ -289,7 +289,7 @@ groups() ->
[{traffic, [], [{group, T} || T <- ?TRANSPORTS]}].
%groups(_) -> %% debug
-% Name = [tcp,record,rfc6733,map,false,false,false,false],
+% Name = [tcp,rfc6733,record,map,false,false,false,false],
% [{group, ?util:name(Name)}];
groups(Names) ->
[{group, ?util:name(L)} || L <- Names].
@@ -328,17 +328,17 @@ init_per_group(sctp = Name, Config) ->
init_per_group(Name, Config) ->
Nas = proplists:get_value(rfc4005, Config, false),
case ?util:name(Name) of
- [_,_,D,_,_,_,_,_] when D == rfc4005, true /= Nas ->
+ [_,R,_,_,_,_,_,_] when R == rfc4005, true /= Nas ->
{skip, rfc4005};
- [T,E,D,SD,S,SS,ST,CS] ->
+ [T,R,E,D,S,ST,SS,CS] ->
G = #group{transport = T,
strings = S,
encoding = E,
client_service = [$C|?util:unique_string()],
- client_dict = appdict(D),
+ client_dict = appdict(R),
client_sender = CS,
server_service = [$S|?util:unique_string()],
- server_decoding = SD,
+ server_decoding = D,
server_sender = SS,
server_throttle = ST},
%% Limit the number of testcase, since the number of