Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update the hive workaround to support the new hive (#1287)
In the old Hive the cluster status was Resuming instead of Running so we had the workaround to check that In the new Hive this issue was fixed and the status is Running but to support both we updated the workaround verified with old Hive: ➜ oc -n rhods get clusterclaim ods-qe-psi-03-claim -o json | jq '.status.conditions[] | select(.type=="ClusterRunning" and (.reason=="Resuming" or .reason=="Running"))' --exit-status { "lastProbeTime": "2024-03-05T17:38:34Z", "lastTransitionTime": "2024-03-05T17:38:34Z", "message": "Waiting for cluster to be running", "reason": "Resuming", "status": "False", "type": "ClusterRunning" } ➜ verified with the New Hive: ➜ oc -n rhoai get clusterclaim ods-qe-psi-04-claim -o json | jq '.status.conditions[] | select(.type=="ClusterRunning" and (.reason=="Resuming" or .reason=="Running"))' --exit-status { "lastProbeTime": "2024-03-13T11:42:33Z", "lastTransitionTime": "2024-03-13T11:42:33Z", "message": "Cluster is running", "reason": "Running", "status": "True", "type": "ClusterRunning" } ➜ related to jira ticket: RHOAIENG-3338
- Loading branch information