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
changes/52/24052/4
Andre Puschmann 2 years ago
parent 4462067afc
commit bde48c3767
  1. 3
      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

Loading…
Cancel
Save