Skip to content

Commit 74e37bb

Browse files
authored
Extend config reload wait time for static route tests (#3749)
*The arp_update script updates unresolved neighbors every 300 seconds. As the default config reload wait time is 120 seconds, the arp_update script may not finish the neighbor resolution before the config reload wait time and cause the static route test to fail. This PR aims to fix the timing issue for static route tests. *Fix: Extend config reload wait time for static route tests
1 parent f71488c commit 74e37bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/route/test_static_route.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def run_static_route_test(duthost, ptfadapter, ptfhost, tbinfo, prefix, nexthop_
137137
# Config save and reload if specified
138138
if config_reload_test:
139139
duthost.shell('config save -y')
140-
config_reload(duthost)
140+
config_reload(duthost, wait=350)
141141
generate_and_verify_traffic(duthost, ptfadapter, tbinfo, ip_dst, nexthop_devs, ipv6=ipv6)
142142
check_route_redistribution(duthost, prefix, ipv6)
143143

0 commit comments

Comments
 (0)