osmith submitted this change.

View Change

Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved
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(-)

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);
}
}

To view, visit change 41224. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Icc0e3118f0cf113ed8784a9f22d3d2ccbf47cf76
Gerrit-Change-Number: 41224
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>