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
This commit is contained in:
Andre Puschmann 2021-04-15 10:51:54 +02:00
parent 4462067afc
commit bde48c3767
1 changed files with 3 additions and 0 deletions

View File

@ -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