<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25227">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bsc: reset MSC link stati in f_init()<br><br>I want to add tests that verify the stat items reflecting the MSC<br>connection status. To be able to run a test expecting fewer connected<br>MSC after a test that launched more MSCs requires the links to be reset.<br><br>Related: SYS#5542<br>Depends: I1975941b790d2b30d0904d41e456220cba26ecff (osmo-bsc)<br>Change-Id: Ice3056dc46c94f9399f8379db7aeb7193782f2f2<br>---<br>M bsc/BSC_Tests.ttcn<br>1 file changed, 5 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/27/25227/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 2471a50..75a9d93 100644</span><br><span>--- a/bsc/BSC_Tests.ttcn</span><br><span>+++ b/bsc/BSC_Tests.ttcn</span><br><span>@@ -1121,6 +1121,11 @@</span><br><span>     var my_BooleanList allow_attach := { false, false, false };</span><br><span>  f_init_statsd("VirtMSC", vc_STATSD, mp_test_ip, mp_bsc_statsd_port);</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+    /* Make sure each MSC's internal state is "DISCONNECTED" at first */</span><br><span style="color: hsl(120, 100%, 40%);">+    for (bssap_idx := 0; bssap_idx < NUM_MSC; bssap_idx := bssap_idx+1) {</span><br><span style="color: hsl(120, 100%, 40%);">+              f_vty_transceive(BSCVTY, "msc " & int2str(bssap_idx) & " bssmap reset", strict := false);</span><br><span style="color: hsl(120, 100%, 40%);">+ }</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>  for (bssap_idx := 0; bssap_idx < nr_msc; bssap_idx := bssap_idx+1) {</span><br><span>              allow_attach[bssap_idx] := true;</span><br><span>             /* Call a function of our 'parent component' RAN_Adapter_CT to start the</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25227">change 25227</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/+/25227"/><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: Ice3056dc46c94f9399f8379db7aeb7193782f2f2 </div>
<div style="display:none"> Gerrit-Change-Number: 25227 </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>