aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/test/diameter_codec_SUITE_data
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-05-03 01:38:12 +0200
committerAnders Svensson <[email protected]>2013-05-17 15:16:03 +0200
commit38a75600cbd5b51ae61921df78cc02348e563564 (patch)
treeef813baa93bc010edfec43ae77b469c7b7a73fca /lib/diameter/test/diameter_codec_SUITE_data
parentf7ec93e3aabdae29aba51f1e2aff0cfc5f983043 (diff)
downloadotp-38a75600cbd5b51ae61921df78cc02348e563564.tar.gz
otp-38a75600cbd5b51ae61921df78cc02348e563564.tar.bz2
otp-38a75600cbd5b51ae61921df78cc02348e563564.zip
Detect all 5005 (MISSING_AVP) errors and don't reverse errors
The previous commit ensures that only one will be reported in an answer message when diameter itself sets Result-Code/Failed-AVP. The order of errors in #diameter_packet.errors is that in which they're detected, not the reverse as previously.
Diffstat (limited to 'lib/diameter/test/diameter_codec_SUITE_data')
-rw-r--r--lib/diameter/test/diameter_codec_SUITE_data/diameter_test_unknown.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/test/diameter_codec_SUITE_data/diameter_test_unknown.erl b/lib/diameter/test/diameter_codec_SUITE_data/diameter_test_unknown.erl
index bce3d78a37..49f2158b1a 100644
--- a/lib/diameter/test/diameter_codec_SUITE_data/diameter_test_unknown.erl
+++ b/lib/diameter/test/diameter_codec_SUITE_data/diameter_test_unknown.erl
@@ -71,6 +71,6 @@ dec('AR', #diameter_packet
dec('BR', #diameter_packet
{msg = #recv_BR{'Origin-Host' = ?HOST,
'Origin-Realm' = ?REALM},
- errors = [{5008, ?NOT_MANDATORY_YYY},
- {5001, ?MANDATORY_XXX}]}) ->
+ errors = [{5001, ?MANDATORY_XXX},
+ {5008, ?NOT_MANDATORY_YYY}]}) ->
ok.