diff options
author | Anders Svensson <[email protected]> | 2017-07-07 23:58:19 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2017-08-03 17:14:28 +0200 |
commit | df12f634bec4b784f4c8d16846f2c24297b0e1ac (patch) | |
tree | 14533d33b95cedd2122ef060df4f827f36b8e4f2 /lib/diameter/test/diameter_traffic_SUITE.erl | |
parent | f87aeb3fb2c84790b37796d5e57b4a09ac2f4ed7 (diff) | |
download | otp-df12f634bec4b784f4c8d16846f2c24297b0e1ac.tar.gz otp-df12f634bec4b784f4c8d16846f2c24297b0e1ac.tar.bz2 otp-df12f634bec4b784f4c8d16846f2c24297b0e1ac.zip |
Create fewer client connections in traffic suite
One for each server decoding/encoding/container combination is overkill.
Just want a few from which one can be chosen in the pick_peer callback.
Diffstat (limited to 'lib/diameter/test/diameter_traffic_SUITE.erl')
-rw-r--r-- | lib/diameter/test/diameter_traffic_SUITE.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/diameter/test/diameter_traffic_SUITE.erl b/lib/diameter/test/diameter_traffic_SUITE.erl index 47f83676bb..adf8bf4d66 100644 --- a/lib/diameter/test/diameter_traffic_SUITE.erl +++ b/lib/diameter/test/diameter_traffic_SUITE.erl @@ -472,6 +472,8 @@ add_transports(Config) -> client_service = CN, client_sender = CS, server_service = SN, + server_encoding = SE, + server_container = SC, server_sender = SS, server_throttle = ST} = group(Config), @@ -490,12 +492,10 @@ add_transports(Config) -> LRef, [{id, Id} | client_apps(R, [{'Origin-State-Id', origin(Id)}])]) - || D <- ?DECODINGS, - E <- ?ENCODINGS, - C <- ?CONTAINERS, + || D <- ?DECODINGS, %% for multiple candidate peers R <- ?RFCS, R /= rfc4005 orelse have_nas(), - Id <- [{D,E,C}]], + Id <- [{D,SE,SC}]], %% The server uses the client's Origin-State-Id to decide how to %% answer. ?util:write_priv(Config, "transport", [LRef | Cs]). |