Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/route/test_static_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ def run_static_route_test(duthost, ptfadapter, ptfhost, tbinfo, prefix, nexthop_
#FIXME: We saw re-establishing BGP sessions can takes around 7 minutes
# on some devices (like 4600) after config reload, so we need below patch
wait_all_bgp_up(duthost)
for nexthop_addr in nexthop_addrs:
duthost.shell("timeout 1 ping -c 1 -w 1 {}".format(nexthop_addr), module_ignore_errors=True)
generate_and_verify_traffic(duthost, ptfadapter, tbinfo, ip_dst, nexthop_devs, ipv6=ipv6)
check_route_redistribution(duthost, prefix, ipv6)

Expand Down