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
Sun Oct 11 19:57:12 UTC 2020


laforge has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/49/20549/1

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: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201011/4034ef52/attachment.htm>


More information about the gerrit-log mailing list