Change in osmo-ttcn3-hacks[master]: pcu: test counter pcu.sgsn.0.rx_paging_ps

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
Tue Aug 10 10:38:13 UTC 2021


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

Change subject: pcu: test counter pcu.sgsn.0.rx_paging_ps
......................................................................

pcu: test counter pcu.sgsn.0.rx_paging_ps

Related: SYS#4878
Depends: docker-playground 22c6ef9e6ba9c368dc058319662ff95ccbab8063
Change-Id: I20398eed7f462940bcd3d6354d1cd4d47329b74f
---
M pcu/PCU_Tests.ttcn
1 file changed, 11 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, but someone else must approve
  daniel: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn
index 8e8fba9..3d4bcee 100644
--- a/pcu/PCU_Tests.ttcn
+++ b/pcu/PCU_Tests.ttcn
@@ -71,6 +71,8 @@
 
 	charstring mp_ctrl_neigh_ip := "127.0.0.1";
 	integer mp_ctrl_neigh_port := 4248;
+
+	boolean mp_osmo_pcu_newer_than_0_9_0 := true; /* Drop after OsmoPCU > 0.9.0 was released */
 }
 
 
@@ -3186,6 +3188,8 @@
 	/* Initialize the PCU interface abstraction */
 	f_init_raw(testcasename());
 
+	f_statsd_reset();
+
 	/* Establish BSSGP connection to the PCU */
 	f_bssgp_establish();
 	f_bssgp_client_llgmm_assign(TLLI_UNUSED, ms.tlli);
@@ -3201,6 +3205,13 @@
 		f_pcuif_rx_pch_pag_req1(tr_MI_IMSI(imsi), imsi_suff_tx);
 	}
 
+	if (mp_osmo_pcu_newer_than_0_9_0) {
+		var StatsDExpects expect := {
+			{ name := "TTCN3.pcu.sgsn.0.rx_paging_ps", mtype := "c", min := 1, max := 1 }
+		};
+		f_statsd_expect(expect);
+	}
+
 	f_shutdown(__BFILE__, __LINE__, final := true);
 }
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25157
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: I20398eed7f462940bcd3d6354d1cd4d47329b74f
Gerrit-Change-Number: 25157
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210810/547f5aed/attachment.htm>


More information about the gerrit-log mailing list