Commit 597edf16 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

OFC25 tests:

- Updated deploy script to wait for Context subscription to be ready
parent 8a9e716b
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -104,9 +104,17 @@ mv tfs_runtime_env_vars.sh tfs_runtime_env_vars_e2e.sh
# ===== Recovering files =========================
mv manifests/contextservice.yaml.bak manifests/contextservice.yaml


# ===== Wait Content for NATS Subscription =========================
echo "Waiting for E2E Context to have subscriber ready..."
while ! kubectl --namespace tfs-e2e logs deployment/contextservice -c server 2>&1 | grep -q 'Subscriber is Ready? True'; do sleep 1; done
kubectl --namespace tfs-e2e logs deployment/contextservice -c server


# ===== Onboarding topologies =========================
# TODO: pending...


# ===== Configure subscriptions =========================
# This should not be needed
#./src/tests/ofc25/subscription_ws_ip.sh