Skip to content

Commit 0a24403

Browse files
shi-suvmittal-msft
authored andcommitted
Extend config reload wait time for static route tests (sonic-net#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 c4a4c32 commit 0a24403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/route/test_static_route.py

Lines changed: 1 addition & 1 deletion
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)