Skip to content

Commit

Permalink
fix: change NATS CR wait for Warning status (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfaizanse authored May 24, 2024
1 parent 294bc29 commit 7f34a15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-backend-switching-reuseable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
run: |
make -C hack/ci/ wait-istio-cr-ready
make -C hack/ci/ wait-api-gateway-cr-ready
make -C hack/ci/ wait-nats-cr-ready
make -C hack/ci/ wait-nats-cr-warning
make -C hack/ci/ wait-eventing-cr-ready-with-backend ACTIVE_BACKEND=NATS
- name: Setup eventing tests
Expand Down
4 changes: 4 additions & 0 deletions hack/ci/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ apply-peerauthentication-crd:
wait-nats-cr-ready:
kubectl wait nats.operator.kyma-project.io -n kyma-system eventing-nats --timeout=300s --for=jsonpath='{.status.state}'=Ready

.PHONY: wait-nats-cr-warning
wait-nats-cr-warning:
kubectl wait nats.operator.kyma-project.io -n kyma-system eventing-nats --timeout=300s --for=jsonpath='{.status.state}'=Warning

.PHONY: wait-eventing-cr-ready
wait-eventing-cr-ready:
kubectl wait eventing.operator.kyma-project.io -n kyma-system eventing --timeout=300s --for=jsonpath='{.status.state}'=Ready
Expand Down

0 comments on commit 7f34a15

Please sign in to comment.