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") }