From 17492be72be32d9d13a1e3fb03e93b0b352b3df8 Mon Sep 17 00:00:00 2001 From: Yaqiang Zhu Date: Fri, 30 Sep 2022 15:45:37 +0800 Subject: [PATCH] Modify skip condition due to replacement of asic about Nokia-7215 (#6401) What is the motivation for this PR? Asic of Nokia-7215 was replaced by sonic-net/sonic-buildimage#12148, which will cause skip failure about Nokia-7215 How did you do it? Modify skip conditions. --- .../tests_mark_conditions_platform_tests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml b/tests/common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml index 78b235eb5f..02f4ddbb6e 100644 --- a/tests/common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml +++ b/tests/common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml @@ -579,7 +579,7 @@ platform_tests/broadcom: skip: reason: "Marvell devices does not support platform_tests/broadcom" conditions: - - "asic_type in ['marvell']" + - "'marvell' in asic_type" ####################################### ##### cli/test_show_platform.py ##### @@ -632,7 +632,7 @@ platform_tests/mellanox: skip: reason: "Marvell devices does not support platform_tests/mellanox" conditions: - - "asic_type in ['marvell']" + - "'marvell' in asic_type" ####################################### ##### test_platform_info.py #####