Skip to content

Commit aab4a86

Browse files
authored
[platform][reboot] Fix test_power_off_reboot failed in 7215 (#9085)
What is the motivation for this PR? Skip condition for 7215 and 1031 failed in this case due to #8646 How did you do it? Modify skip condition. How did you verify/test it? Run tests. Signed-off-by: Yaqiang Zhu <[email protected]>
1 parent 5a016a8 commit aab4a86

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,12 @@ platform_tests/test_platform_info.py::test_turn_on_off_psu_and_check_psustatus:
809809
#######################################
810810
##### test_reboot.py #####
811811
#######################################
812+
platform_tests/test_power_off_reboot.py:
813+
skip:
814+
reason: "Skip power off reboot test for Wistron/Nokia-7215"
815+
conditions:
816+
- "(hwsku in ['Celestica-E1031-T48S4']) or ('sw_to3200k' in hwsku) or (platform in ['armhf-nokia_ixs7215_52x-r0']) or (is_multi_asic==True and release in ['201911'])"
817+
812818
platform_tests/test_reboot.py::test_cold_reboot:
813819
xfail:
814820
reason: "case failed and waiting for fix"
@@ -834,12 +840,6 @@ platform_tests/test_reboot.py::test_fast_reboot:
834840
- "hwsku in ['Celestica-DX010-C32']"
835841
- https://github.com/sonic-net/sonic-mgmt/issues/6767
836842

837-
platform_tests/test_reboot.py::test_power_off_reboot:
838-
skip:
839-
reason: "Skip power off reboot test for Wistron/Nokia-7215"
840-
conditions:
841-
- "(hwsku in ['Celestica-E1031-T48S4']) or ('sw_to3200k' in hwsku) or (platform in ['armhf-nokia_ixs7215_52x-r0']) or (is_multi_asic==True and release in ['201911'])"
842-
843843
platform_tests/test_reboot.py::test_soft_reboot:
844844
skip:
845845
reason: "Skip test_soft_reboot for m0/mx"

0 commit comments

Comments
 (0)