Skip to content

Commit

Permalink
Add condition_logical_operator or for test_passw_hardening.py (sonic-…
Browse files Browse the repository at this point in the history
…net#6482)

What is the motivation for this PR?
passw_hardening/test_passw_hardening.py should be ran on master image and with issue sonic-net#6428 fixed.
Currently, issue sonic-net#6428 is not fixed, the defulat logical operator is AND, so for master image, the final result is False, the case is not skipped.

How did you do it?
Change condition_logical_operator to OR, if the issue is fixed, it will run on master image, otherwise it will be skipped for all images.

Signed-off-by: Zhaohui Sun <zhaohuisun@microsoft.com>
  • Loading branch information
ZhaohuiS authored and Azarack committed Oct 17, 2022
1 parent 8f3b33d commit da30f48
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ ntp/test_ntp.py::test_ntp_long_jump_disabled:
passw_hardening/test_passw_hardening.py:
skip:
reason: "Password-hardening supported just in master version"
conditions_logical_operator: or
conditions:
- "release not in ['master']"
- https://github.com/sonic-net/sonic-mgmt/issues/6428
Expand Down

0 comments on commit da30f48

Please sign in to comment.