Debian Codegraph @

debian/patches/0003-Fix-flaky-TestNativeHistogram.patch

raw
1 From: Daniel Swarbrick <[email protected]>
2 Date: Fri, 28 Jul 2023 03:31:51 +0800
3 Subject: Skip buggy TestNativeHistogram test on ppc64el
4
5 Bug: https://github.com/prometheus/client_golang/issues/1165
6 Last-Update: 2022-11-09
7 ---
8 prometheus/histogram_test.go | 3 +++
9 1 file changed, 3 insertions(+)
10
11 diff --git a/prometheus/histogram_test.go b/prometheus/histogram_test.go
12 index 1a19df2..25a8360 100644
13 --- a/prometheus/histogram_test.go
14 +++ b/prometheus/histogram_test.go
15 @@ -470,6 +470,9 @@ func TestHistogramExemplar(t *testing.T) {
16 }
17
18 func TestNativeHistogram(t *testing.T) {
19 + if runtime.GOARCH == "ppc64le" {
20 + t.Skip("Skipping buggy test on ppc64el")
21 + }
22 now := time.Now()
23
24 scenarios := []struct {