From cf476d7e7bbcb99f421fbb911e456d74be32eaf9 Mon Sep 17 00:00:00 2001 From: baloola <baloola-mu@hotmail.com> Date: Thu, 7 Apr 2022 16:19:44 +0200 Subject: [PATCH] test port forwarding with wget --- testing/run_integration_test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testing/run_integration_test.sh b/testing/run_integration_test.sh index 70fec8c..a0263de 100755 --- a/testing/run_integration_test.sh +++ b/testing/run_integration_test.sh @@ -54,6 +54,8 @@ kubectl exec deployment/my-helm-release-ingestor -- ls /var/ingestor/fail > fail # client testing kubectl port-forward svc/my-helm-release-client 80:80 & +wget 127.0.0.1:80 + 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 -- GitLab