<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25396">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bsc: make TC_stats_conn_fail less fragile<br><br>Add a delay between sending the RSL Conn Fail IND and checking the stats<br>values, so that osmo-bsc has a good chance of receiving the message and<br>promoting the failure into the stats values first.<br><br>Even though jenkins shows no failures, when testing locally, this test<br>fails a lot for me without that bit of delay.<br><br>Change-Id: Iaf0173239528337283b23f70840d36ad25f14950<br>---<br>M bsc/BSC_Tests.ttcn<br>1 file changed, 2 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/96/25396/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn</span><br><span>index c7f607b..2291483 100644</span><br><span>--- a/bsc/BSC_Tests.ttcn</span><br><span>+++ b/bsc/BSC_Tests.ttcn</span><br><span>@@ -1810,6 +1810,8 @@</span><br><span>                        ts_RSL_CONN_FAIL_IND(g_chan_nr, RSL_ERR_RADIO_LINK_FAIL),</span><br><span>                    IPAC_PROTO_RSL_TRX0));</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+    f_sleep(1.0);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>      /* Expect stats to be 1 */</span><br><span>   expect := {</span><br><span>          {name := "TTCN3.bts.0.chan.rf_fail", mtype := "c", min := 1, max := 1},</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25396">change 25396</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/+/25396"/><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: Iaf0173239528337283b23f70840d36ad25f14950 </div>
<div style="display:none"> Gerrit-Change-Number: 25396 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>