osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41224?usp=email )
Change subject: hlr: fix error msg in f_count_auth_tuples ......................................................................
hlr: fix error msg in f_count_auth_tuples
Log expected_auth_tuples instead of mp_default_num_auth_tuples, otherwise we get bogus messages such as:
Did not received expected number of auth tuples. Expected 5 but received 5
Change-Id: Icc0e3118f0cf113ed8784a9f22d3d2ccbf47cf76 --- M hlr/HLR_Tests.ttcn 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved
diff --git a/hlr/HLR_Tests.ttcn b/hlr/HLR_Tests.ttcn index 3b1b03e..97bbada 100644 --- a/hlr/HLR_Tests.ttcn +++ b/hlr/HLR_Tests.ttcn @@ -965,8 +965,8 @@ if ((not istemplatekind(expected_auth_tuples, "omit")) and not match(auth_tuples, valueof(expected_auth_tuples))) { setverdict(fail, - "Did not received expected number of auth tuples. Expected ", - mp_default_num_auth_tuples, + "Did not receive expected number of auth tuples. Expected ", + expected_auth_tuples, " but received ", auth_tuples); } }