diff --git a/testing/run_integration_test.sh b/testing/run_integration_test.sh index ca523dfea1179608da559d64cfa860275ffdffbf..7b5d650531d183f77a78a02ec12c82922df68214 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?