From 1e7a9df58e0362ca2694b9caf1fadc42359ff69e Mon Sep 17 00:00:00 2001 From: baloola <baloola-mu@hotmail.com> Date: Tue, 10 May 2022 11:28:13 +0200 Subject: [PATCH] taeting renderer --- testing/run_integration_test.sh | 3 ++- testing/test_renderer.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/testing/run_integration_test.sh b/testing/run_integration_test.sh index 7b5d650..f7d4aaf 100755 --- a/testing/run_integration_test.sh +++ b/testing/run_integration_test.sh @@ -38,6 +38,7 @@ 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-renderer 81:80 & KUBECTL_PORT_FORWARD_PID=$! @@ -62,7 +63,7 @@ kubectl exec deployment/my-helm-release-ingestor -- ls /var/ingestor/fail > fail wget http://localhost:80 && cat index.html #renderer -wget http://localhost/opensearch/collections/Emergency/ +wget http://localhost:81/opensearch/collections/Emergency/ diff --git a/testing/test_renderer.py b/testing/test_renderer.py index d104f67..c138029 100644 --- a/testing/test_renderer.py +++ b/testing/test_renderer.py @@ -37,7 +37,7 @@ def get_requests(url, service_list, service, request): def test_renderer(identifiers): wms_items = get_requests( - 'http://localhost/opensearch/collections/Emergency/atom/', + 'http://localhost:81/opensearch/collections/Emergency/atom/', [], 'wms', 'GetMap') for row in identifiers: @@ -70,7 +70,7 @@ def test_renderer(identifiers): def test_wcs(identifiers): wcs_items = get_requests( - 'http://localhost/opensearch/collections/Emergency/atom/', + 'http://localhost:81/opensearch/collections/Emergency/atom/', [], 'wcs', 'GetCoverage') for row in identifiers: -- GitLab