Skip to content

Commit

Permalink
change if condition
Browse files Browse the repository at this point in the history
Signed-off-by: lugi0 <[email protected]>
  • Loading branch information
lugi0 committed Oct 2, 2024
1 parent 69d626c commit db54663
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ods_ci/tests/Resources/OCP.resource
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ Wait For Namespace To Be Active
[Documentation] Waits for a given namespace to become active
[Arguments] ${namespace} ${timeout}=30s
WHILE True limit=${timeout}
${out}= Run oc get namespace/${namespace}
IF '${out}' != 'Error from server (NotFound): namespaces "${namespace}" not found'
${rc}= Run And Return Rc oc get namespace/${namespace}
IF "${rc}" == "0"
BREAK
END
END
Expand Down

0 comments on commit db54663

Please sign in to comment.