File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,13 @@ package metricsstore
18
18
19
19
import (
20
20
"fmt"
21
- "github.com/google/go-cmp/cmp"
22
- "github.com/prometheus/common/expfmt"
23
21
"reflect"
24
22
"strings"
25
23
"testing"
26
24
25
+ "github.com/google/go-cmp/cmp"
26
+ "github.com/prometheus/common/expfmt"
27
+
27
28
v1 "k8s.io/api/core/v1"
28
29
"k8s.io/apimachinery/pkg/api/meta"
29
30
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -266,7 +267,8 @@ func TestWriteAllWithEmptyStores(t *testing.T) {
266
267
}
267
268
}
268
269
269
- // TODO: AFAIR empty headers are ignored by Prometheus? If not, we should remove them.
270
+ // TODO: AFFAIR empty headers are ignored by Prometheus? If not, we should remove them.
271
+ // No two consecutive headers will be entirely the same. The cases used below are only for their suffixes.
270
272
func TestSanitizeHeaders (t * testing.T ) {
271
273
boilerplateHeaders := []string {
272
274
"" ,
You can’t perform that action at this time.
0 commit comments