Skip to content

Commit

Permalink
Fix LGTM alerts
Browse files Browse the repository at this point in the history
Signed-off-by: Neetha John <nejo@microsoft.com>
  • Loading branch information
neethajohn committed Dec 13, 2021
1 parent 3ed935a commit 16ea65e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_pfcwd.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ def setup_teardown_test(self, dvs):
self.get_db_handle(dvs)

self.test_ports = ["Ethernet0"]
pfc_queues = [3,4]

self.setup_test(dvs)
self.get_port_oids()
Expand Down Expand Up @@ -161,7 +160,6 @@ def set_cable_len(self, port_name, cable_len):
self.config_db.update_entry("CABLE_LEN", "AZURE", fvs)

def start_pfcwd_on_ports(self, poll_interval="200", detection_time="200", restoration_time="200", action="drop"):
pfcwd_info = dict()
pfcwd_info = {"POLL_INTERVAL": poll_interval}
self.config_db.update_entry("PFC_WD", "GLOBAL", pfcwd_info)

Expand Down

0 comments on commit 16ea65e

Please sign in to comment.