From 37e6a714208f271eeedad1a9876715093044e048 Mon Sep 17 00:00:00 2001 From: baloola <baloola-mu@hotmail.com> Date: Tue, 19 Apr 2022 10:51:36 +0200 Subject: [PATCH] check the pods ip's --- testing/run_integration_test.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/testing/run_integration_test.sh b/testing/run_integration_test.sh index ca523df..7b5d650 100755 --- a/testing/run_integration_test.sh +++ b/testing/run_integration_test.sh @@ -34,9 +34,10 @@ kubectl cp default/`kubectl get po -l app.kubernetes.io/name=registrar -o name | # run tests (i.e. verification of output of above commands) +kubectl get all -n default # expose database, renderer and client ports externally kubectl port-forward svc/my-helm-release-database 5432:5432 & -# kubectl port-forward svc/my-helm-release-client 80:80 & +kubectl port-forward svc/my-helm-release-client 80:80 & KUBECTL_PORT_FORWARD_PID=$! @@ -66,7 +67,7 @@ wget http://localhost/opensearch/collections/Emergency/ # client testing -docker run --name cypress --network host -v ${PWD}:/mnt/ --rm -t --user 1000:1000 cypress/browsers:node16.14.0-slim-chrome99-ff97 bash -c "cd /mnt && npm ci && npm run e2e" +# docker run --name cypress --network host -v ${PWD}:/mnt/ --rm -t --user 1000:1000 cypress/browsers:node16.14.0-slim-chrome99-ff97 bash -c "cd /mnt && npm ci && npm run e2e" # fetch logs for ingestor tests kubectl logs $(kubectl get po -l app.kubernetes.io/name=ingestor -o name | cut -d'/' -f2) > ingestor_log.txt # sleep 10 # not sure why we wait here? -- GitLab