diff --git a/.github/workflows/e2e-backend-switching-reuseable.yml b/.github/workflows/e2e-backend-switching-reuseable.yml index 2c59658f..ea975764 100644 --- a/.github/workflows/e2e-backend-switching-reuseable.yml +++ b/.github/workflows/e2e-backend-switching-reuseable.yml @@ -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 diff --git a/hack/ci/Makefile b/hack/ci/Makefile index 413405a6..318d0aaf 100644 --- a/hack/ci/Makefile +++ b/hack/ci/Makefile @@ -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