Skip to content

Commit 08d676d

Browse files
authoredMar 14, 2024··
Disable proxy_arp at the end of test_proxy_arp (sonic-net#11977)
* Disable proxy_arp at the end of test_proxy_arp * Add 2 seconds delay
1 parent 7764393 commit 08d676d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎tests/arp/conftest.py

+3
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,9 @@ def proxy_arp_enabled(rand_selected_dut, config_facts):
311311
proxy_arp_del_cmd = 'sonic-db-cli CONFIG_DB HDEL "VLAN_INTERFACE|Vlan{}" proxy_arp'
312312
for vid, proxy_arp_val in list(old_proxy_arp_vals.items()):
313313
if 'enabled' not in proxy_arp_val:
314+
# Disable proxy_arp explicitly
315+
duthost.shell(proxy_arp_config_cmd.format(vid, 'disabled'))
316+
time.sleep(2)
314317
# Delete the DB entry instead of using the config command to satisfy check_dut_health_status
315318
duthost.shell(proxy_arp_del_cmd.format(vid))
316319

0 commit comments

Comments
 (0)
Please sign in to comment.