Skip to content

Commit

Permalink
Fix test_vlan.py (#2541)
Browse files Browse the repository at this point in the history
[VS] Fix Vlan test for the signature of wait_for_n_keys
  • Loading branch information
lolyu authored Dec 19, 2022
1 parent c00455a commit 44d1e9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/dvslib/dvs_vlan.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def get_and_verify_vlan_ids(self,
polling_config=PollingConfig()):
vlan_entries = self.asic_db.wait_for_n_keys("ASIC_STATE:SAI_OBJECT_TYPE_VLAN",
expected_num + 1,
polling_config)
polling_config=polling_config)

return [v for v in vlan_entries if v != self.asic_db.default_vlan_id]

Expand Down Expand Up @@ -110,6 +110,6 @@ def verify_vlan_hostif(self, hostif_name, hostifs_oid, vlan_oid):
def get_and_verify_vlan_hostif_ids(self, expected_num, polling_config=PollingConfig()):
hostif_entries = self.asic_db.wait_for_n_keys("ASIC_STATE:SAI_OBJECT_TYPE_HOSTIF",
expected_num + 1,
polling_config)
polling_config=polling_config)
return hostif_entries

0 comments on commit 44d1e9c

Please sign in to comment.