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:
parent
4462067afc
commit
bde48c3767
|
@ -24,6 +24,9 @@ print('waiting for UE to attach...')
|
||||||
wait(ue.is_registered)
|
wait(ue.is_registered)
|
||||||
print('UE is attached')
|
print('UE is attached')
|
||||||
|
|
||||||
|
# Wait a bit
|
||||||
|
sleep(5)
|
||||||
|
|
||||||
proc = ue.run_netns_wait('ping', ('ping', '-c', '10', epc.tun_addr()))
|
proc = ue.run_netns_wait('ping', ('ping', '-c', '10', epc.tun_addr()))
|
||||||
|
|
||||||
# Check zero lost pings
|
# Check zero lost pings
|
||||||
|
|
Loading…
Reference in New Issue