<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20186">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  lynxis lazus: Looks good to me, approved
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">NS_Emulation: Fix Tns-alive/Tns-test expiration detection<br><br>Change-Id: Icb7d076f57c166b498c1b3edd84edcf13ea9739d<br>---<br>M library/NS_Emulation.ttcn<br>1 file changed, 4 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/NS_Emulation.ttcn b/library/NS_Emulation.ttcn</span><br><span>index 0198da8..97a48e5 100644</span><br><span>--- a/library/NS_Emulation.ttcn</span><br><span>+++ b/library/NS_Emulation.ttcn</span><br><span>@@ -175,19 +175,19 @@</span><br><span>               var ASP_Event evt;</span><br><span> </span><br><span>               /* transition to DEAD if t_alive times out */</span><br><span style="color: hsl(0, 100%, 40%);">-           [Tns_alive.running] Tns_alive.timeout {</span><br><span style="color: hsl(0, 100%, 40%);">-                 log("Tns-aeive expired: changing to DEAD_BLOCKED + starting Tns-test");</span><br><span style="color: hsl(120, 100%, 40%);">+             [] Tns_alive.timeout {</span><br><span style="color: hsl(120, 100%, 40%);">+                        log("Tns-alive expired: changing to DEAD_BLOCKED + starting Tns-test");</span><br><span>                    f_change_state(NSE_S_DEAD_BLOCKED);</span><br><span>                  Tns_test.start;</span><br><span>              }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-           [Tns_test.running] Tns_test.timeout {</span><br><span style="color: hsl(120, 100%, 40%);">+         [] Tns_test.timeout {</span><br><span>                        log("Tns-test expired: sending NS-ALIVE");</span><br><span>                         f_sendAlive();</span><br><span>               }</span><br><span> </span><br><span>                /* Stop t_alive when receiving ALIVE-ACK */</span><br><span style="color: hsl(0, 100%, 40%);">-             [] NSCP.receive(t_NS_ALIVE_ACK) {</span><br><span style="color: hsl(120, 100%, 40%);">+             [Tns_alive.running] NSCP.receive(t_NS_ALIVE_ACK) {</span><br><span>                   log("NS-ALIVE-ACK received: stopping Tns-alive; starting Tns-test");</span><br><span>                       Tns_alive.stop;</span><br><span>                      Tns_test.start;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20186">change 20186</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/+/20186"/><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: Icb7d076f57c166b498c1b3edd84edcf13ea9739d </div>
<div style="display:none"> Gerrit-Change-Number: 20186 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>