Skip to content

Commit

Permalink
[t0-56] fix ports in dir_bcast test for t0-56 topo (sonic-net#5393)
Browse files Browse the repository at this point in the history
Fixed the list of src ports for t0-56 topo in test dir_bcast.
In range (0,32) exist many ports which in the down state in t0-56 topo.

Signed-off-by: Anton <antonh@nvidia.com>
  • Loading branch information
AntonHryshchuk authored and xwjiang-ms committed Apr 13, 2022
1 parent ee8f41c commit 08b7b86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ansible/roles/test/files/ptftests/dir_bcast_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ def setUp(self):
if self.test_params['testbed_type'] == 't0-52':
self.src_ports = range(0, 52)
if self.test_params['testbed_type'] == 't0-56':
self.src_ports = range(0, 32)
self.src_ports = range(0, 2) + range(4, 6) + range(8, 10) + range(12, 18) + range(20, 22) + \
range(24, 26) + range(28, 30) + range(32, 34) + range(36, 38) + range(40, 46) + \
range(48, 50) + range(52, 54)
if self.test_params['testbed_type'] == 't0-64':
self.src_ports = range(0, 2) + range(4, 18) + range(20, 33) + range(36, 43) + range(48, 49) + range(52, 59)
if self.test_params['testbed_type'] == 't0-116':
Expand Down

0 comments on commit 08b7b86

Please # to comment.