Skip to content

Commit 21eb405

Browse files
Replacing the check with 200 OK for HTTP/2 200
As we can see we are able to get the data as before, see: https://github.com/operator-framework/operator-controller/actions/runs/12322365651/job/34395777693?pr=1475 On the discussions where defined that we can move forward for HTTP/2
1 parent 5342759 commit 21eb405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/metrics_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,5 @@ func TestOperatorControllerMetricsExportedEndpoint(t *testing.T) {
8787
"curl", "-v", "-k", "-H", "Authorization: Bearer "+token, metricsURL)
8888
output, err = curlCmd.CombinedOutput()
8989
require.NoError(t, err, "Error calling metrics endpoint: %s", string(output))
90-
require.Contains(t, string(output), "200 OK", "Metrics endpoint did not return 200 OK")
90+
require.Contains(t, string(output), "HTTP/2 200", "Metrics endpoint did not return HTTP/2 200")
9191
}

0 commit comments

Comments
 (0)