diff --git a/tests/common/plugins/conditional_mark/__init__.py b/tests/common/plugins/conditional_mark/__init__.py index 4ff2d5d1a8c..73e480d18de 100644 --- a/tests/common/plugins/conditional_mark/__init__.py +++ b/tests/common/plugins/conditional_mark/__init__.py @@ -273,6 +273,9 @@ def load_config_facts(inv_name, dut_name): results['VOQ_INBAND_INTERFACE'] = output_fields.get('VOQ_INBAND_INTERFACE', {}) results['BGP_VOQ_CHASSIS_NEIGHBOR'] = output_fields.get('BGP_VOQ_CHASSIS_NEIGHBOR', {}) results['INTERFACE'] = output_fields.get('INTERFACE', {}) + if 'switch_type' in output_fields['DEVICE_METADATA']['localhost']: + results['switch_type'] = output_fields['DEVICE_METADATA']['localhost']['switch_type'] + except Exception as e: logger.error('Failed to load config basic facts, exception: {}'.format(repr(e))) diff --git a/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml b/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml index 8e8356dd084..3e73ef74f97 100644 --- a/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml +++ b/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml @@ -1659,6 +1659,12 @@ telemetry/test_telemetry.py: conditions: - "(is_multi_asic==True) and (release in ['201811', '201911'])" +telemetry/test_telemetry.py::test_telemetry_queue_buffer_cnt: + skip: + reason: "Testcase ignored due to switch type is voq" + conditions: + - "(switch_type=='voq')" + ####################################### ##### pktgen ##### #######################################