Skip to content

Commit cda3729

Browse files
kamalsahu0001venu-nexthop
authored andcommitted
Adding tgen pytest mark to couple of pfc snappi-tests. (sonic-net#19027)
Description of PR Summary: Added tgen in addition to multidut-tgen Approach What is the motivation for this PR? to add missing coverage on tgen How did you do it? Added tgen pytest mark How did you verify/test it? Ran on a single dut switch co-authorized by: [email protected]
1 parent 5d5be0c commit cda3729

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/snappi_tests/pfc/test_m2o_fluctuating_lossless.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from tests.common.snappi_tests.snappi_test_params import SnappiTestParams
1313
from tests.snappi_tests.cisco.helper import disable_voq_watchdog # noqa: F401
1414
logger = logging.getLogger(__name__)
15-
pytestmark = [pytest.mark.topology('multidut-tgen')]
15+
pytestmark = [pytest.mark.topology('multidut-tgen', 'tgen')]
1616

1717

1818
@pytest.fixture(autouse=True, scope='module')

tests/snappi_tests/pfc/test_m2o_oversubscribe_lossy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from tests.common.snappi_tests.snappi_test_params import SnappiTestParams
1313
from tests.snappi_tests.cisco.helper import disable_voq_watchdog # noqa: F401
1414
logger = logging.getLogger(__name__)
15-
pytestmark = [pytest.mark.topology('multidut-tgen')]
15+
pytestmark = [pytest.mark.topology('multidut-tgen', 'tgen')]
1616

1717

1818
@pytest.fixture(autouse=True, scope='module')

0 commit comments

Comments
 (0)