From 5bc672f6921efc082347b745e1096e08d5c3013f Mon Sep 17 00:00:00 2001 From: Ishwar Kanse Date: Tue, 15 Oct 2024 20:02:41 +0530 Subject: [PATCH] Fix Tempo e2e tests (#1062) --- .../e2e-openshift/component-replicas/scale-tempo-assert.yaml | 1 - .../e2e-openshift/monolithic-route/install-tempo-assert.yaml | 4 ++-- tests/e2e-openshift/route/install-tempo-assert.yaml | 4 ++-- .../e2e-openshift/tls-monolithic-singletenant/01-assert.yaml | 4 ++-- tests/e2e-openshift/tls-singletenant/01-assert.yaml | 4 ++-- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/tests/e2e-openshift/component-replicas/scale-tempo-assert.yaml b/tests/e2e-openshift/component-replicas/scale-tempo-assert.yaml index 3e493fa8d..9f0b9accb 100644 --- a/tests/e2e-openshift/component-replicas/scale-tempo-assert.yaml +++ b/tests/e2e-openshift/component-replicas/scale-tempo-assert.yaml @@ -135,7 +135,6 @@ metadata: kind: TempoStack name: cmpreps spec: - replicas: 2 selector: matchLabels: app.kubernetes.io/component: gateway diff --git a/tests/e2e-openshift/monolithic-route/install-tempo-assert.yaml b/tests/e2e-openshift/monolithic-route/install-tempo-assert.yaml index b82463b8f..a16918479 100644 --- a/tests/e2e-openshift/monolithic-route/install-tempo-assert.yaml +++ b/tests/e2e-openshift/monolithic-route/install-tempo-assert.yaml @@ -254,8 +254,8 @@ spec: apiVersion: v1 data: tempo-query.yaml: | - address: 127.0.0.1:7777 - backend: 127.0.0.1:3200 + address: 0.0.0.0:7777 + backend: localhost:3200 tenant_header_key: x-scope-orgid services_query_duration: 72h0m0s find_traces_concurrent_requests: 2 diff --git a/tests/e2e-openshift/route/install-tempo-assert.yaml b/tests/e2e-openshift/route/install-tempo-assert.yaml index dfe8e64c0..4666d7189 100644 --- a/tests/e2e-openshift/route/install-tempo-assert.yaml +++ b/tests/e2e-openshift/route/install-tempo-assert.yaml @@ -125,8 +125,8 @@ data: tls_insecure_skip_verify: false tls_min_version: VersionTLS13 tempo-query.yaml: | - address: 127.0.0.1:7777 - backend: 127.0.0.1:3200 + address: 0.0.0.0:7777 + backend: localhost:3200 tenant_header_key: x-scope-orgid services_query_duration: 72h0m0s find_traces_concurrent_requests: 2 diff --git a/tests/e2e-openshift/tls-monolithic-singletenant/01-assert.yaml b/tests/e2e-openshift/tls-monolithic-singletenant/01-assert.yaml index c882016ee..d38e2b8cb 100644 --- a/tests/e2e-openshift/tls-monolithic-singletenant/01-assert.yaml +++ b/tests/e2e-openshift/tls-monolithic-singletenant/01-assert.yaml @@ -298,8 +298,8 @@ spec: apiVersion: v1 data: tempo-query.yaml: | - address: 127.0.0.1:7777 - backend: 127.0.0.1:3200 + address: 0.0.0.0:7777 + backend: localhost:3200 tenant_header_key: x-scope-orgid services_query_duration: 72h0m0s find_traces_concurrent_requests: 2 diff --git a/tests/e2e-openshift/tls-singletenant/01-assert.yaml b/tests/e2e-openshift/tls-singletenant/01-assert.yaml index b2202982a..fbaa7d6f9 100644 --- a/tests/e2e-openshift/tls-singletenant/01-assert.yaml +++ b/tests/e2e-openshift/tls-singletenant/01-assert.yaml @@ -224,8 +224,8 @@ data: \ tls_ca_path: /var/run/ca/service-ca.crt\n tls_server_name: tempo-simplest-ingester.chainsaw-tls-singletenant.svc.cluster.local\n \ tls_insecure_skip_verify: false\n tls_min_version: VersionTLS13\n" tempo-query.yaml: | - address: 127.0.0.1:7777 - backend: 127.0.0.1:3200 + address: 0.0.0.0:7777 + backend: localhost:3200 tenant_header_key: x-scope-orgid services_query_duration: 72h0m0s find_traces_concurrent_requests: 2