Change in osmo-ttcn3-hacks[master]: bts: Log more details in case SI sampling returned insufficient results

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Mon Oct 12 13:13:04 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20549 )

Change subject: bts: Log more details in case SI sampling returned insufficient results
......................................................................

bts: Log more details in case SI sampling returned insufficient results

Change-Id: I2b853dfff0800cd87e49a3360019ff7198aeafb2
---
M bts/BTS_Tests.ttcn
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Vadim Yanitskiy: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index b381893..1d2a148 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -3674,7 +3674,8 @@
 return boolean {
 	var integer count := 0;
 	if (sizeof(arr) < m) {
-		Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "Error: Insufficient SI in array");
+		Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "Error: Insufficient SI in array: "
+					& int2str(sizeof(arr)) & " < " & int2str(m));
 	}
 	for (var integer i:= 0; i < m; i := i + 1) {
 		var integer fn_mod51 := arr[i].frame_number mod 51;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20549
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I2b853dfff0800cd87e49a3360019ff7198aeafb2
Gerrit-Change-Number: 20549
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Vadim Yanitskiy <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201012/f52cca7f/attachment.htm>


More information about the gerrit-log mailing list