From bde48c376772620bd5220aeb7accc624a1f5b95e Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Thu, 15 Apr 2021 10:51:54 +0200 Subject: [PATCH] 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 --- sysmocom/suites/4g/ping.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sysmocom/suites/4g/ping.py b/sysmocom/suites/4g/ping.py index 9b9993c6..b4537d64 100755 --- a/sysmocom/suites/4g/ping.py +++ b/sysmocom/suites/4g/ping.py @@ -24,6 +24,9 @@ print('waiting for UE to attach...') 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