Skip to content

Commit 09a965d

Browse files
authored
Adding skip some testcases for cisco-8000 platform (#5409)
Co-authored-by: Perumal Venkatesh <[email protected]>
1 parent 65a3a84 commit 09a965d

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

tests/common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ platform_tests/api/test_psu.py::TestPsuApi::test_power:
272272
skip:
273273
reason: "Unsupported platform API"
274274
conditions:
275-
- "asic_type in ['mellanox']"
275+
- "asic_type in ['mellanox', 'cisco-8000']"
276276

277277
#######################################
278278
##### api/test_psu_fans.py #####
@@ -338,7 +338,7 @@ platform_tests/api/test_sfp.py::TestSfpApi::test_get_rx_los:
338338
skip:
339339
reason: "Unsupported platform API"
340340
conditions:
341-
- "asic_type in ['mellanox']"
341+
- "asic_type in ['mellanox'] or (asic_type in ['cisco-8000'] and release in ['202012'])"
342342

343343
platform_tests/api/test_sfp.py::TestSfpApi::test_get_rx_power:
344344
skip:
@@ -380,7 +380,7 @@ platform_tests/api/test_sfp.py::TestSfpApi::test_get_tx_fault:
380380
skip:
381381
reason: "Unsupported platform API"
382382
conditions:
383-
- "asic_type in ['mellanox']"
383+
- "asic_type in ['mellanox'] or (asic_type in ['cisco-8000'] and release in ['202012'])"
384384

385385
platform_tests/api/test_sfp.py::TestSfpApi::test_get_tx_power:
386386
skip:
@@ -412,6 +412,12 @@ platform_tests/api/test_sfp.py::TestSfpApi::test_tx_disable_channel:
412412
conditions:
413413
- "asic_type in ['mellanox']"
414414

415+
platform_tests/api/test_sfp.py::TestSfpApi::test_get_transceiver_threshold_info:
416+
skip:
417+
reason: "Unsupported platform API"
418+
conditions:
419+
- "asic_type in ['cisco-8000'] and release in ['202012']"
420+
415421
#######################################
416422
##### api/test_thermal.py #####
417423
#######################################

0 commit comments

Comments
 (0)