Skip to content

Commit

Permalink
Skip brcm teardown assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
RyoYang committed Mar 1, 2022
1 parent 5f44a9b commit 7644506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ptf/sai_base_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,10 +339,10 @@ def tearDown(self):
sai_thrift_clear_port_stats(self.client, port)
sai_thrift_set_port_attribute(
self.client, port, port_vlan_id=0)

if get_platform() == 'brcm':
return
self.assertTrue(self.verifyNumberOfAvaiableResources(
self.switch_resources, debug=False))

finally:
super(SaiHelperBase, self).tearDown()

Expand Down

0 comments on commit 7644506

Please sign in to comment.