@pytest.fixture(scope='module')
def setup_thresholds(duthosts, enum_rand_one_per_hwsku_hostname):
    duthost = duthosts[enum_rand_one_per_hwsku_hostname]
    cpu_threshold = 50
    memory_threshold = 60
    high_cpu_consume_procs = {}
    is_asan = is_asan_image(duthosts, enum_rand_one_per_hwsku_hostname)
    if ((duthost.facts['platform'] in ('x86_64-arista_7050_qx32', 'x86_64-kvm_x86_64-r0')) or is_asan):
        memory_threshold = 90
    if (duthost.facts['platform'] in 'x86_64-arista_7260cx3_64'):
        high_cpu_consume_procs['syncd'] = 80
    if (duthost.facts['asic_type'] == 'mellanox'):
        high_cpu_consume_procs['sx_sdk'] = 90
    return (memory_threshold, cpu_threshold, high_cpu_consume_procs)
@pytest.fixture(scope='module')
def setup_thresholds(duthosts, enum_rand_one_per_hwsku_hostname):
    duthost = duthosts[enum_rand_one_per_hwsku_hostname]
    cpu_threshold = 50
    memory_threshold = 60
    high_cpu_consume_procs = {}
    is_asan = is_asan_image(duthosts, enum_rand_one_per_hwsku_hostname)
    if ((duthost.facts['platform'] in ('x86_64-arista_7050_qx32', 'x86_64-kvm_x86_64-r0')) or is_asan):
        memory_threshold = 90
    if (duthost.facts['platform'] in 'x86_64-arista_7260cx3_64'):
        high_cpu_consume_procs['syncd'] = 80
    if (duthost.facts['asic_type'] == 'mellanox'):
        high_cpu_consume_procs['sx_sdk'] = 90
    return (memory_threshold, cpu_threshold, high_cpu_consume_procs)