-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhos-18.0 FR 1 (Nov 2024)
-
1
-
False
-
-
False
-
?
-
None
-
-
-
Low
The issue was identified in this review: https://github.com/infrawatch/feature-verification-tests/pull/181/files#r1927684348
The issue is not related to any content added in the review, but was noticed and commented onduring the review.
The failed_when requires that all the conditions be met in order to fail.
The intent when writing was that all had to be met to pass, so any condition not met should lead to a failure.
The failed_when should explicitly use `or` in a single list item, rather than providing a list of conditions.
Two options present themselves.
- Change the failed_when to use `or` in a single list item
- Add a second task that uses the assert module, which requires all list items be true in order to pass, and provide it with the negatives of the fail conditions
Related to: https://issues.redhat.com/browse/OSPRH-13139
- relates to
-
OSPRH-13139 [fvt] Incorrect fail condition in the file test
-
- Closed
-