From 86c895515820d636697c1c6ccc80e1964d59b57c Mon Sep 17 00:00:00 2001 From: Camila Macedo <7708031+camilamacedo86@users.noreply.github.com> Date: Fri, 13 Dec 2024 20:21:22 +0000 Subject: [PATCH] Change the check with 200 OK for HTTP/2 200 See that we still getting the data as before: https://github.com/operator-framework/catalogd/actions/runs/12322347604/job/34395719725?pr=460 --- test/e2e/metrics_endpoint_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/metrics_endpoint_test.go b/test/e2e/metrics_endpoint_test.go index 8a15a6ca..0ee97f19 100644 --- a/test/e2e/metrics_endpoint_test.go +++ b/test/e2e/metrics_endpoint_test.go @@ -87,5 +87,5 @@ func TestCatalogdMetricsExportedEndpoint(t *testing.T) { "curl", "-v", "-k", "-H", "Authorization: Bearer "+token, metricsURL) output, err = curlCmd.CombinedOutput() require.NoError(t, err, "Error calling metrics endpoint: %s", string(output)) - require.Contains(t, string(output), "200 OK", "Metrics endpoint did not return 200 OK") + require.Contains(t, string(output), "HTTP/2 200", "Metrics endpoint did not return HTTP/2 200") }