<p>srs_andre has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/22037">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">iperf3: return 0 if iperf results can't be read back<br><br>usually the calling code, i.e. the test, will use the result<br>of the iperf run to check against a threshold. for that to<br>work the return value can't be None.<br><br>Change-Id: I5a8fe32f0a2bb676dbb80dad500bc6c63c176485<br>---<br>M src/osmo_gsm_tester/obj/iperf3.py<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-gsm-tester refs/changes/37/22037/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo_gsm_tester/obj/iperf3.py b/src/osmo_gsm_tester/obj/iperf3.py</span><br><span>index 4785f78..6571491 100644</span><br><span>--- a/src/osmo_gsm_tester/obj/iperf3.py</span><br><span>+++ b/src/osmo_gsm_tester/obj/iperf3.py</span><br><span>@@ -76,7 +76,7 @@</span><br><span>         return recv['bits_per_second']/1e6</span><br><span>     except Exception as e:</span><br><span>         print("Exception while using iperf3 results: %r" % (repr(result)))</span><br><span style="color: hsl(0, 100%, 40%);">-        pass</span><br><span style="color: hsl(120, 100%, 40%);">+        return 0</span><br><span> </span><br><span> class IPerf3Server(log.Origin):</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/22037">change 22037</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-gsm-tester/+/22037"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gsm-tester </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I5a8fe32f0a2bb676dbb80dad500bc6c63c176485 </div>
<div style="display:none"> Gerrit-Change-Number: 22037 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: srs_andre <andre@softwareradiosystems.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>