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
1818
1919import (
2020 "fmt"
21- "github.com/google/go-cmp/cmp"
22- "github.com/prometheus/common/expfmt"
2321 "reflect"
2422 "strings"
2523 "testing"
2624
25+ "github.com/google/go-cmp/cmp"
26+ "github.com/prometheus/common/expfmt"
27+
2728 v1 "k8s.io/api/core/v1"
2829 "k8s.io/apimachinery/pkg/api/meta"
2930 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -266,7 +267,8 @@ func TestWriteAllWithEmptyStores(t *testing.T) {
266267 }
267268}
268269
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.
270272func TestSanitizeHeaders (t * testing.T ) {
271273 boilerplateHeaders := []string {
272274 "" ,
You can’t perform that action at this time.
0 commit comments