<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25160">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pcu: add test TC_paging_pch_timeout<br><br>Related: SYS#4878<br>Change-Id: I8a8a912908f42d16dc04e2abe8ee4117f08bc672<br>---<br>M pcu/PCU_Tests.ttcn<br>1 file changed, 25 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/60/25160/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn</span><br><span>index f77c4c1..ada9ae3 100644</span><br><span>--- a/pcu/PCU_Tests.ttcn</span><br><span>+++ b/pcu/PCU_Tests.ttcn</span><br><span>@@ -3241,6 +3241,28 @@</span><br><span>  f_shutdown(__BFILE__, __LINE__, final := true);</span><br><span> }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+testcase TC_paging_pch_timeout() runs on RAW_PCU_Test_CT {</span><br><span style="color: hsl(120, 100%, 40%);">+  /* Initialize the PCU interface abstraction */</span><br><span style="color: hsl(120, 100%, 40%);">+        f_init_raw(testcasename());</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ /* Set T3113 to 1s to shorten the test duration */</span><br><span style="color: hsl(120, 100%, 40%);">+    f_vty_config2(PCUVTY, {"pcu"}, "timer T3113 1");</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+        /* Reset stats and send paging PS request */</span><br><span style="color: hsl(120, 100%, 40%);">+  f_tc_paging_ps_from_sgsn(mp_gb_cfg.bvc[0].bvci);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+    /* Verify that counter increases when T3113 times out (MS did not start</span><br><span style="color: hsl(120, 100%, 40%);">+        * TBF to respond to paging). */</span><br><span style="color: hsl(120, 100%, 40%);">+      f_sleep(1.2);</span><br><span style="color: hsl(120, 100%, 40%);">+ var StatsDExpects expect := {</span><br><span style="color: hsl(120, 100%, 40%);">+         { name := "TTCN3.bts.0.pch.requests.timeout", mtype := "c", min := 1, max := 1 }</span><br><span style="color: hsl(120, 100%, 40%);">+  };</span><br><span style="color: hsl(120, 100%, 40%);">+    f_statsd_expect(expect);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+    f_vty_config2(PCUVTY, {"pcu"}, "timer T3113 default");</span><br><span style="color: hsl(120, 100%, 40%);">+    f_shutdown(__BFILE__, __LINE__, final := true);</span><br><span style="color: hsl(120, 100%, 40%);">+}</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> /* Verify osmo-pcu handles DL UNIT_DATA from SGSN with IMSI IE correctly. See OS#4729 */</span><br><span> testcase TC_bssgp_dl_unitdata_with_valid_imsi() runs on RAW_PCU_Test_CT {</span><br><span>        var RlcmacDlBlock dl_block;</span><br><span>@@ -5968,6 +5990,9 @@</span><br><span>  execute( TC_paging_ps_from_sgsn_sign_ptmsi() );</span><br><span>      execute( TC_paging_ps_from_sgsn_sign() );</span><br><span>    execute( TC_paging_ps_from_sgsn_ptp() );</span><br><span style="color: hsl(120, 100%, 40%);">+      if (mp_osmo_pcu_newer_than_0_9_0) {</span><br><span style="color: hsl(120, 100%, 40%);">+           execute( TC_paging_pch_timeout() );</span><br><span style="color: hsl(120, 100%, 40%);">+   }</span><br><span>    execute( TC_paging_cs_multi_ms_imsi_tmsi() );</span><br><span>        execute( TC_paging_cs_multi_ms_imsi() );</span><br><span>     execute( TC_paging_cs_multi_ms_tmsi() );</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25160">change 25160</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25160"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I8a8a912908f42d16dc04e2abe8ee4117f08bc672 </div>
<div style="display:none"> Gerrit-Change-Number: 25160 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>