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.orgosmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26387 ) Change subject: BSC_Tests: TC_paging_counter: add bsc pag expired ...................................................................... BSC_Tests: TC_paging_counter: add bsc pag expired Test the new bsc.N.paging:expired stat in TC_paging_counter too. Depends: osmo-bsc I9c118e7e3d61ed8c9f1951111255b196905eba4d Related: SYS#4878 Change-Id: I8931bf1bc2f4e0d4b168168cdb83683bb350d961 --- M bsc/BSC_Tests.ttcn 1 file changed, 7 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/87/26387/1 diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn index b34ad29..faf4e63 100644 --- a/bsc/BSC_Tests.ttcn +++ b/bsc/BSC_Tests.ttcn @@ -3312,6 +3312,7 @@ var integer i; var integer paging_attempted_bsc; var integer paging_attempted_bts[NUM_BTS]; + var integer paging_expired_bsc; var integer paging_expired_bts[NUM_BTS]; cid_list := valueof(ts_BSSMAP_CIL_noCell); @@ -3319,6 +3320,9 @@ /* read counters before paging */ paging_attempted_bsc := f_ctrl_get_ratectr_abs(IPA_CTRL, "bsc", 0, "paging:attempted"); + if (Misc_Helpers.f_is_osmocom_nightly()) { + paging_expired_bsc := f_ctrl_get_ratectr_abs(IPA_CTRL, "bsc", 0, "paging:expired"); + } for (i := 0; i < NUM_BTS; i := i+1) { paging_attempted_bts[i] := f_ctrl_get_ratectr_abs(IPA_CTRL, "bts", i, "paging:attempted"); paging_expired_bts[i] := f_ctrl_get_ratectr_abs(IPA_CTRL, "bts", i, "paging:expired"); @@ -3335,6 +3339,9 @@ /* assume that 12s later the paging on all BTSs have expired and hence incremented by 1 */ f_sleep(12.0); + if (Misc_Helpers.f_is_osmocom_nightly()) { + f_ctrl_get_exp_ratectr_abs(IPA_CTRL, "bsc", 0, "paging:expired", paging_expired_bsc+1); + } for (i := 0; i < NUM_BTS; i := i+1) { f_ctrl_get_exp_ratectr_abs(IPA_CTRL, "bts", i, "paging:expired", paging_expired_bts[i]+1); -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26387 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: I8931bf1bc2f4e0d4b168168cdb83683bb350d961 Gerrit-Change-Number: 26387 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/20211126/17c98cd5/attachment.htm>