Skip to content

Commit

Permalink
Fix for test_voq_ip_fwd (#15209)
Browse files Browse the repository at this point in the history
* Update test_voq_ipfwd.py
  • Loading branch information
yatishkoul authored and mssonicbld committed Nov 9, 2024
1 parent 1f84492 commit 458dfc3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/voq/test_voq_ipfwd.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,9 +579,13 @@ def test_host_route_table_nbr_lb_addr(self, duthosts, enum_rand_one_per_hwsku_fr
neighs = cfg_facts['BGP_NEIGHBOR']

# Remove the neighbor if BGP neighbor is of type RegionalHub
keys_to_remove = []
for k, v in neighs.items():
if v['name'] in dev_rh_neigh:
neighs.pop(k)
keys_to_remove.append(k)

for k in keys_to_remove:
neighs.pop(k)

for neighbor in neighs:
local_ip = neighs[neighbor]['local_addr']
Expand Down

0 comments on commit 458dfc3

Please sign in to comment.