Commit 18da1d4
chore: skip PSU check for chassis LC (#16057)
Description of PR
Skip platform_tests/test_platform_info.py::test_turn_on_off_psu_and_check_psustatus for chassis LC
Summary:
Fixes # (issue) Microsoft ADO 30114143
Approach
What is the motivation for this PR?
Due to the module-level enumerate fixture psu_test_setup_teardown that has enum_rand_one_per_hwsku_hostname in this test module, we will run platform_tests/test_platform_info.py::test_turn_on_off_psu_and_check_psustatus multiple times when it's a T2 chassis. However, we don't need to run it multiple times because we are just toggling the PDU/PSU on the supervisor card in this test case. Therefore, we should skip the runs when the parametrization is on LCs.
How did you do it?
How did you verify/test it?
Ran it on T2 and I can confirm it's only run for supervisor parametrization.
Any platform specific information?
Supported testbed topology if it's a new test case?
co-authorized by: [email protected]1 parent f573d98 commit 18da1d4
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
250 | 252 | | |
| 253 | + | |
251 | 254 | | |
252 | 255 | | |
253 | 256 | | |
| |||
277 | 280 | | |
278 | 281 | | |
279 | 282 | | |
280 | | - | |
281 | 283 | | |
282 | 284 | | |
283 | 285 | | |
| |||
0 commit comments