Skip to content

Commit e8afd76

Browse files
lizhijianrdwangxin
authored andcommitted
skip test_memory_exhaustion on Celestica-E1031 (#8007)
What is the motivation for this PR? 1. Skip testcase test_memory_exhaustion on Celestica-E1031 platform. `tail /dev/zero` cannot always trigger an OOM kernel panic on this platform. 2. Keep the keys in tests_mark_conditions_platform_tests.yaml in alphabetical order. How did you do it? Use conditional mark to skip the testcase on Celestica-E1031 platform. How did you verify/test it? Verified on Celestica-E1031 testbed. Signed-off-by: Zhijian Li <zhijianli@microsoft.com>
1 parent e7c165e commit e8afd76

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

tests/common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,15 @@ platform_tests/mellanox/test_reboot_cause.py:
761761
conditions:
762762
- "platform in ['x86_64-mlnx_msn2010-r0', 'x86_64-mlnx_msn2700-r0', 'x86_64-mlnx_msn2100-r0', 'x86_64-mlnx_msn2410-r0', 'x86_64-nvidia_sn2201-r0']"
763763

764+
#######################################
765+
#### test_memory_exhaustion.py #####
766+
#######################################
767+
platform_tests/test_memory_exhaustion.py:
768+
skip:
769+
reason: "Unsupported release or platforms"
770+
conditions:
771+
- "(is_multi_asic==True and release in ['201911']) or (hwsku in ['Celestica-E1031-T48S4'])"
772+
764773
#######################################
765774
##### test_platform_info.py #####
766775
#######################################

0 commit comments

Comments
 (0)