aports/testing/opa/fix-prometheus-test.patch
2026-01-24 09:25:56 +00:00

19 lines
1.1 KiB
Diff

Ref: https://github.com/open-policy-agent/opa/commit/a938b9202eccbfae887ca110feca92cb2943e085
---
diff --git a/internal/prometheus/prometheus_test.go b/internal/prometheus/prometheus_test.go
index b224c11931..aaf130c1d8 100644
--- a/internal/prometheus/prometheus_test.go
+++ b/internal/prometheus/prometheus_test.go
@@ -160,8 +160,9 @@ func TestJSONSerialization(t *testing.T) {
"go_godebug_non_default_behavior_containermaxprocs_events_total",
"go_godebug_non_default_behavior_updatemaxprocs_events_total",
"go_godebug_non_default_behavior_x509sha256skid_events_total",
- "go_godebug_non_default_behavior_tlssha1_events_total", // here and above, added with 1.25.1
- "go_godebug_non_default_behavior_httpcookiemaxnum_events_total", // go 1.25.2
+ "go_godebug_non_default_behavior_tlssha1_events_total", // here and above, added with 1.25.1
+ "go_godebug_non_default_behavior_httpcookiemaxnum_events_total", // go 1.25.2
+ "go_godebug_non_default_behavior_urlmaxqueryparams_events_total", // go 1.25.6
},
"SUMMARY": {
"go_gc_duration_seconds",