Change in osmo-ttcn3-hacks[master]: bts: TC_meas_res_sign_*: Properly configure supp-meas-info

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/.

pespin gerrit-no-reply at lists.osmocom.org
Fri Oct 8 15:03:36 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25727 )


Change subject: bts: TC_meas_res_sign_*: Properly configure supp-meas-info
......................................................................

bts: TC_meas_res_sign_*: Properly configure supp-meas-info

Since recently, osmo-bts may not be restarting after each test. Which
means the supp-meas-info is not reset when test starts. Hence, some of
these tests started failing because a previous test set a value
different than the default one.

Change-Id: Iaa16b33781a8f490fc1cdbafda407755371dbe7f
---
M bts/BTS_Tests.ttcn
1 file changed, 4 insertions(+), 0 deletions(-)



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

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 6e37650..ec239da 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -3249,6 +3249,7 @@
 	var ConnHdlr vc_conn;
 	var ConnHdlrPars pars;
 	f_init();
+	f_vty_config(BTSVTY, "bts 0", "no supp-meas-info toa256");
 	for (var integer tn := 1; tn <= 4; tn := tn+1) {
 		pars := valueof(t_Pars(t_RslChanNr_Bm(tn), ts_RSL_ChanMode_SIGN(RSL_CHRT_TCH_F)));
 		vc_conn := f_start_handler(refers(f_TC_meas_res_periodic), pars,
@@ -3261,6 +3262,7 @@
 	var ConnHdlr vc_conn;
 	var ConnHdlrPars pars;
 	f_init();
+	f_vty_config(BTSVTY, "bts 0", "no supp-meas-info toa256");
 	for (var integer ss := 0; ss <= 1; ss := ss+1) {
 		pars := valueof(t_Pars(t_RslChanNr_Lm(5, ss), ts_RSL_ChanMode_SIGN(RSL_CHRT_TCH_H)));
 		vc_conn := f_start_handler(refers(f_TC_meas_res_periodic), pars,
@@ -3273,6 +3275,7 @@
 	var ConnHdlr vc_conn;
 	var ConnHdlrPars pars;
 	f_init();
+	f_vty_config(BTSVTY, "bts 0", "no supp-meas-info toa256");
 	for (var integer ss := 0; ss <= 3; ss := ss+1) {
 		pars := valueof(t_Pars(t_RslChanNr_SDCCH4(0, ss), ts_RSL_ChanMode_SIGN));
 		vc_conn := f_start_handler(refers(f_TC_meas_res_periodic), pars,
@@ -3285,6 +3288,7 @@
 	var ConnHdlr vc_conn;
 	var ConnHdlrPars pars;
 	f_init();
+	f_vty_config(BTSVTY, "bts 0", "no supp-meas-info toa256");
 	for (var integer ss := 0; ss <= 7; ss := ss+1) {
 		pars := valueof(t_Pars(t_RslChanNr_SDCCH8(6, ss), ts_RSL_ChanMode_SIGN));
 		vc_conn := f_start_handler(refers(f_TC_meas_res_periodic), pars,

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25727
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: Iaa16b33781a8f490fc1cdbafda407755371dbe7f
Gerrit-Change-Number: 25727
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211008/056ec726/attachment.htm>


More information about the gerrit-log mailing list