Commit a02991c
authored
Skip test_passwd_hardening in tests_mark_conditions.yaml (#6429)
What is the motivation for this PR?
test_passw_hardening is unable to run on master image because sonic-net/sonic-buildimage#12138 hasn't been merged.
But after running it on 202205 image which supports passw-harden(enabled in this PR sonic-net/sonic-buildimage#12025), found an issue and raised here #6428.
I think that it's better to skip test case in tests_mark_conditions.yaml instead of in test script.
How did you do it?
Move skip condition to tests_mark_conditions.yaml
Add an issue in skip condition. After it's been fixed, we can run this script.
How did you verify/test it?
Run passw_hardening/test_passw_hardening.py
Signed-off-by: Zhaohui Sun <[email protected]>1 parent c41f842 commit a02991c
File tree
2 files changed
+10
-6
lines changed- tests
- common/plugins/conditional_mark
- passw_hardening
2 files changed
+10
-6
lines changedLines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
420 | 430 | | |
421 | 431 | | |
422 | 432 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 20 | | |
27 | 21 | | |
28 | 22 | | |
| |||
0 commit comments