<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17926">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pgw: Don't wait for 10s timeout if starting a ping that takes 10s<br><br>rather, dynamically wait 5s longer than the theoretical time it<br>should take.<br><br>Change-Id: Ife2b7b8d03ee6808cfa73bb860cc63c46c451499<br>---<br>M pgw/PGW_Tests.ttcn<br>1 file changed, 1 insertion(+), 1 deletion(-)<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/26/17926/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/pgw/PGW_Tests.ttcn b/pgw/PGW_Tests.ttcn</span><br><span>index 22e32da..cf3b901 100644</span><br><span>--- a/pgw/PGW_Tests.ttcn</span><br><span>+++ b/pgw/PGW_Tests.ttcn</span><br><span>@@ -335,7 +335,7 @@</span><br><span>       var charstring ping :="ping -c " & int2str(count) & " -i " & int2str(interval);</span><br><span>      ping := ping & " -I " & f_inet_ntoa(g_ip4_addr);</span><br><span>   ping := ping & " " & host;</span><br><span style="color: hsl(0, 100%, 40%);">-    f_start_prog_wait(ping);</span><br><span style="color: hsl(120, 100%, 40%);">+      f_start_prog_wait(ping, tout := int2float(5 + interval*count));</span><br><span> }</span><br><span> </span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17926">change 17926</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/+/17926"/><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: Ife2b7b8d03ee6808cfa73bb860cc63c46c451499 </div>
<div style="display:none"> Gerrit-Change-Number: 17926 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>