diff options
author | Oliver Smith <osmith@sysmocom.de> | 2021-07-22 08:14:29 +0200 |
---|---|---|
committer | osmith <osmith@sysmocom.de> | 2021-08-10 10:38:12 +0000 |
commit | 61b4e73379b247b992a9b5ca9ddc67d955140769 (patch) | |
tree | e1acbcafb837078f093d010701d02167b55939a9 | |
parent | 594b4ffa2cbcbf16ba12eefcdfe398be40463ab2 (diff) |
pcu: test counter pcu.sgsn.0.rx_paging_ps
Related: SYS#4878
Depends: docker-playground 22c6ef9e6ba9c368dc058319662ff95ccbab8063
Change-Id: I20398eed7f462940bcd3d6354d1cd4d47329b74f
-rw-r--r-- | pcu/PCU_Tests.ttcn | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn index 8e8fba9b..3d4bcee0 100644 --- a/pcu/PCU_Tests.ttcn +++ b/pcu/PCU_Tests.ttcn @@ -71,6 +71,8 @@ modulepar { 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 @@ runs on RAW_PCU_Test_CT { /* 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 @@ runs on RAW_PCU_Test_CT { 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); } |