Change in osmo-ttcn3-hacks[master]: pcu: TC_stat_pdch_avail_occ: test gprs/egprs stats

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

osmith gerrit-no-reply at lists.osmocom.org
Wed Sep 8 11:12:26 UTC 2021


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


Change subject: pcu: TC_stat_pdch_avail_occ: test gprs/egprs stats
......................................................................

pcu: TC_stat_pdch_avail_occ: test gprs/egprs stats

Extend the test to verify that TTCN3.bts.0.pdch.occupied.gprs and
TTCN3.bts.0.pdch.occupied.egprs work as expected. These new stats are
needed for performance measurements in 3GPP TS 52.402 § B.2.1.54-55.

Related: SYS#4878
Depends: osmo-pcu I0c0a1121b4ae5f031782e7e63a0c28eb0b6c8b42
Change-Id: Ia98de17187810acb2e1b327c37beab79a0c211b8
---
M pcu/PCU_Tests.ttcn
1 file changed, 11 insertions(+), 4 deletions(-)



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

diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn
index c23e58c..d784c48 100644
--- a/pcu/PCU_Tests.ttcn
+++ b/pcu/PCU_Tests.ttcn
@@ -6019,18 +6019,25 @@
 	/* 8 PDCHs available, 0 occupied */
 	var StatsDExpects expect := {
 		{ name := "TTCN3.bts.0.pdch.available", mtype := "g", min := 8, max := 8 },
-		{ name := "TTCN3.bts.0.pdch.occupied", mtype := "g", min := 0, max := 0 }
+		{ name := "TTCN3.bts.0.pdch.occupied", mtype := "g", min := 0, max := 0 },
+		{ name := "TTCN3.bts.0.pdch.occupied.gprs", mtype := "g", min := 0, max := 0 },
+		{ name := "TTCN3.bts.0.pdch.occupied.egprs", mtype := "g", min := 0, max := 0 }
 	};
 	f_statsd_expect(expect);
 
-	/* Establish an Uplink TBF for each GprsMS instance */
+	/* Establish an Uplink TBF for each GprsMS instance (3x GPRS, 1x EGPRS) */
 	f_multi_ms_bssgp_register();
-	f_multi_ms_establish_tbf(do_activate := false);
+	f_ms_establish_ul_tbf(g_ms[0]);
+	f_ms_establish_ul_tbf(g_ms[1]);
+	f_ms_establish_ul_tbf(g_ms[2]);
+	f_ms_establish_ul_tbf_2phase_access(g_ms[3], ts_RlcMacUlCtrl_PKT_RES_REQ(g_ms[3].tlli, ms_racap_egprs_def));
 
 	/* 4 PDCHs occupied */
 	expect := {
 		{ name := "TTCN3.bts.0.pdch.available", mtype := "g", min := 8, max := 8 },
-		{ name := "TTCN3.bts.0.pdch.occupied", mtype := "g", min := 4, max := 4 }
+		{ name := "TTCN3.bts.0.pdch.occupied", mtype := "g", min := 4, max := 4 },
+		{ name := "TTCN3.bts.0.pdch.occupied.gprs", mtype := "g", min := 3, max := 3 },
+		{ name := "TTCN3.bts.0.pdch.occupied.egprs", mtype := "g", min := 1, max := 1 }
 	};
 	f_statsd_expect(expect);
 

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


More information about the gerrit-log mailing list