Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions test/resources/oc.resource
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ Named Daemonset Should Be Available
[Arguments] ${name} ${ns}=${NAMESPACE} ${timeout}=${DEFAULT_WAIT_TIMEOUT}
Oc Wait -n ${ns} daemonset ${name} --for=jsonpath='{.status.numberAvailable}'=1 --timeout=${timeout}

Wait Until Resource Exists
[Documentation] Waits for a resource to exist.
[Arguments] ${type} ${name} ${ns}=${NAMESPACE} ${timeout}=${DEFAULT_WAIT_TIMEOUT}
Wait Until Keyword Succeeds ${timeout} 5s
... Oc Get ${type} ${ns} ${name}

Named PVC Should Be Resized
[Documentation] Wait for pvc with ${name} to resize to ${to_size}
... ${name} Name of pvc to wait for
Expand Down
4 changes: 3 additions & 1 deletion test/suites/standard1/configuration.robot
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ Remove Storage Drop In Config
LVMS Is Deployed
[Documentation] Wait for LVMS components to deploy
Named Deployment Should Be Available lvms-operator openshift-storage 120s
# the daemonset trails the lvms-operator by roughly 1min, so give it extra time to spin up
# Wait for vg-manager daemonset to exist before trying to "wait".
# `oc wait` fails if the object doesn't exist.
Wait Until Resource Exists daemonset vg-manager openshift-storage 120s
Named Daemonset Should Be Available vg-manager openshift-storage 120s

CSI Snapshot Controller And Webhook Are Deployed
Expand Down