pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44155?usp=email ) Change subject: udr: Fix TC_authentication_subscription expectancies ...................................................................... udr: Fix TC_authentication_subscription expectancies open5gs.git aea6708bd246504adfb72fa3e17918f0a88fbb70 recently fixed SQN advancing on certain scenarios, and also fixed this weird increment of SQN that happened as a reslt of patching the SQN. Adapt the test to expect the value patched, not an incremented one. Related: https://github.com/open5gs/open5gs/issues/5000 Change-Id: I5fd5ced21f881f66cd57aa7cfc243e189cdb2ebb --- M udr/UDR_Tests.ttcn 1 file changed, 1 insertion(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/55/44155/1 diff --git a/udr/UDR_Tests.ttcn b/udr/UDR_Tests.ttcn index c85c0df..791ea36 100644 --- a/udr/UDR_Tests.ttcn +++ b/udr/UDR_Tests.ttcn @@ -124,8 +124,7 @@ f_n35_patch_authentication_subscription({ ts_PatchItem(op := ts_PatchOperation(replace_), path := "/sequenceNumber/sqn", value_ := ts_JSON_generic_val_string(hex2str(f_Nudr_DR_sqn_int2hex(sqn)))) }); - /* Upon patch, open5gs-udrd increments (+32) the sqn: */ - f_n35_get_authentication_subscription(exp_sqn := sqn + 32); + f_n35_get_authentication_subscription(exp_sqn := sqn); setverdict(pass); } testcase TC_authentication_subscription() runs on MTC_CT { -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44155?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I5fd5ced21f881f66cd57aa7cfc243e189cdb2ebb Gerrit-Change-Number: 44155 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin@sysmocom.de>