Skip to content

Commit 44d1e9c

Browse files
authored
Fix test_vlan.py (#2541)
[VS] Fix Vlan test for the signature of wait_for_n_keys
1 parent c00455a commit 44d1e9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/dvslib/dvs_vlan.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def get_and_verify_vlan_ids(self,
7272
polling_config=PollingConfig()):
7373
vlan_entries = self.asic_db.wait_for_n_keys("ASIC_STATE:SAI_OBJECT_TYPE_VLAN",
7474
expected_num + 1,
75-
polling_config)
75+
polling_config=polling_config)
7676

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

@@ -110,6 +110,6 @@ def verify_vlan_hostif(self, hostif_name, hostifs_oid, vlan_oid):
110110
def get_and_verify_vlan_hostif_ids(self, expected_num, polling_config=PollingConfig()):
111111
hostif_entries = self.asic_db.wait_for_n_keys("ASIC_STATE:SAI_OBJECT_TYPE_HOSTIF",
112112
expected_num + 1,
113-
polling_config)
113+
polling_config=polling_config)
114114
return hostif_entries
115115

0 commit comments

Comments
 (0)