prometheus/storage
Bryan Boreham 4b9f248e85
unit tests: make all Labels sorted alphabetically (#10532)
"Labels is a sorted set of labels. Order has to be guaranteed upon
instantiation." says the comment, so fix all the tests that break this
rule.

For `BenchmarkLabelValuesWithMatchers()` and
`BenchmarkHeadLabelValuesWithMatchers()` the amount of work done changes
significantly if you put the labels in order, because all series refs
get neatly partitioned by the `tens` label, so I renamed the labels
to maintain the previous behaviour.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2022-05-04 23:41:36 +02:00
..
remote unit tests: make all Labels sorted alphabetically (#10532) 2022-05-04 23:41:36 +02:00
buffer_test.go
buffer.go
fanout_test.go
fanout.go
generic.go
interface.go Add SyncForState Implementation for Ruler HA (#10070) 2022-03-29 02:16:46 +02:00
lazy.go
memoized_iterator_test.go
memoized_iterator.go
merge_test.go
merge.go
noop.go
secondary.go
series_test.go
series.go storage: fix bug #10027 in iterators' Seek method 2021-12-16 12:07:35 +01:00