Skip to content

Commit

Permalink
fix: minor fix in deployment command to find replicas
Browse files Browse the repository at this point in the history
  • Loading branch information
CFSNM committed Oct 24, 2024
1 parent 6642a63 commit 8070be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ods_ci/tests/Resources/OCP.resource
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Wait For Deployment Replica To Be Ready
Wait For Pods To Be Ready ${label_selector} ${namespace} ${timeout} ${exp_replicas}
# Now the status should match the number of expected replicas with ready replicas
Run And Verify Command
... oc get deployment -l ${label_selector} -n ${namespace} -o json | jq -e '.items[].status | .replicas == .readyReplicas' #robocop: disable:line-too-long
... oc get deployment -l ${label_selector} -n ${namespace} -o json | jq -e '.status | .replicas == .readyReplicas' #robocop: disable:line-too-long
... print_to_log=${FALSE}

Wait For Pods To Succeed
Expand Down

0 comments on commit 8070be1

Please sign in to comment.