Skip to content

Commit

Permalink
Fix 'Operator Subscription Last Condition Should Be'
Browse files Browse the repository at this point in the history
Signed-off-by: manosnoam <[email protected]>
  • Loading branch information
manosnoam committed Dec 14, 2023
1 parent ac355c4 commit b7e3ffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ods_ci/tests/Resources/Page/Operators/ISVs.resource
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Operator Subscription Last Condition Should Be
[Arguments] ${type} ${status} ${reason}
... ${subcription_name} ${namespace}=openshift-operators
${rc} ${out}= Run And Return Rc And Output
... oc get subscription ${subcription_name} -n ${namespace} -ojson | jq '.status.conditions | last | select(.type=="${type}" and .status=="${status}" and .reason=="${reason}")' # robocop: disable
... oc get subscription ${subcription_name} -n ${namespace} -ojson | jq '.status.conditions[] | select(.type=="${type}" and .status=="${status}" and .reason=="${reason}")' # robocop: disable
Should Be Equal As Integers ${rc} ${0}
Should Not Be Empty ${out}

Expand Down

0 comments on commit b7e3ffb

Please sign in to comment.