Change in osmo-gsm-tester[master]: ping: add a short delay after UE is attached before starting ping

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Mon May 3 12:22:39 UTC 2021


pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24052 )

Change subject: ping: add a short delay after UE is attached before starting ping
......................................................................

ping: add a short delay after UE is attached before starting ping

this is mainly to avoid ping losses in 5G NSA during NR attach.
No impact on 4G though.

Change-Id: Ic507dc4a24e8576b0ec3b301ee8e340ed553b300
---
M sysmocom/suites/4g/ping.py
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  pespin: Looks good to me, approved; Verified



diff --git a/sysmocom/suites/4g/ping.py b/sysmocom/suites/4g/ping.py
index 9b9993c..b4537d6 100755
--- a/sysmocom/suites/4g/ping.py
+++ b/sysmocom/suites/4g/ping.py
@@ -24,6 +24,9 @@
 wait(ue.is_registered)
 print('UE is attached')
 
+# Wait a bit
+sleep(5)
+
 proc = ue.run_netns_wait('ping', ('ping', '-c', '10', epc.tun_addr()))
 
 # Check zero lost pings

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24052
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: Ic507dc4a24e8576b0ec3b301ee8e340ed553b300
Gerrit-Change-Number: 24052
Gerrit-PatchSet: 4
Gerrit-Owner: srs_andre <andre at softwareradiosystems.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210503/c060f377/attachment.htm>


More information about the gerrit-log mailing list