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.go fix:storage:avoid panic when iterater exhauested (#9945) 2021-12-07 19:50:00 +05:30
buffer_test.go fix:storage:avoid panic when iterater exhauested (#9945) 2021-12-07 19:50:00 +05:30
fanout.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
fanout_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
generic.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
interface.go Add SyncForState Implementation for Ruler HA (#10070) 2022-03-29 02:16:46 +02:00
lazy.go tsdb: Added ChunkQueryable implementations to db; unified MergeSeriesSets and vertical to single struct. (#7069) 2020-07-31 16:03:02 +01:00
memoized_iterator.go fix:storage:avoid panic when iterater exhauested (#9945) 2021-12-07 19:50:00 +05:30
memoized_iterator_test.go fix:storage:avoid panic when iterater exhauested (#9945) 2021-12-07 19:50:00 +05:30
merge.go storage: Fix and improve the Seek method of various iterators (#9878) 2021-11-29 15:17:56 +05:30
merge_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
noop.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
secondary.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
series.go storage: fix bug #10027 in iterators' Seek method 2021-12-16 12:07:35 +01:00
series_test.go storage: expose bug in iterators #10027 2021-12-16 12:02:15 +01:00