<p>daniel has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/10561">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">MSC_Tests: Reliably pass TC_cr_before_reset<br><br>I was able to reproduce the sporadic cr_before_reset failures by running<br>both osmo-{stp,msc}-master with --cpus 0.1. In that case the first test<br>run would fail for me because no BSSMAP RESET ACK was seen. Sleeping<br>some seconds before sending the messages will make sure all components<br>are connected.<br><br>Note: TC_cr_before_reset is the first test executed in control so this<br>seems to be why it sometimes fails in jenkins.<br><br>Change-Id: Id745470231950e0a284f8c231246d3719f7617cc<br>---<br>M msc/MSC_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/61/10561/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn</span><br><span>index 42ad27c..4bdbc1d 100644</span><br><span>--- a/msc/MSC_Tests.ttcn</span><br><span>+++ b/msc/MSC_Tests.ttcn</span><br><span>@@ -1765,6 +1765,8 @@</span><br><span> </span><br><span>   f_bssap_start(g_bssap[0]);</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+        f_sleep(3.0);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>      /* Make a blind connection attemt, to trigger the deadlock condition */</span><br><span>      BSSAP_DIRECT.send(ts_BSSAP_CONNECT_req(g_bssap[0].sccp_addr_peer, g_bssap[0].sccp_addr_own, 1, omit));</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/10561">change 10561</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/10561"/><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-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Id745470231950e0a284f8c231246d3719f7617cc </div>
<div style="display:none"> Gerrit-Change-Number: 10561 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: daniel <dwillmann@sysmocom.de> </div>