mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -08:00
commit
8ccde7f45e
|
@ -26,7 +26,7 @@ import (
|
|||
"github.com/prometheus/prometheus/storage"
|
||||
)
|
||||
|
||||
// Tests the same exemplar cases as AddExemplar, but specfically the ValidateExemplar function so it can be relied on externally.
|
||||
// Tests the same exemplar cases as AddExemplar, but specifically the ValidateExemplar function so it can be relied on externally.
|
||||
func TestValidateExemplar(t *testing.T) {
|
||||
exs, err := NewCircularExemplarStorage(2, nil)
|
||||
require.NoError(t, err)
|
||||
|
|
|
@ -217,7 +217,7 @@ func TestIndexRW_Postings(t *testing.T) {
|
|||
}
|
||||
require.NoError(t, p.Err())
|
||||
|
||||
// The label incides are no longer used, so test them by hand here.
|
||||
// The label indices are no longer used, so test them by hand here.
|
||||
labelIndices := map[string][]string{}
|
||||
require.NoError(t, ReadOffsetTable(ir.b, ir.toc.LabelIndicesTable, func(key []string, off uint64, _ int) error {
|
||||
if len(key) != 1 {
|
||||
|
|
Loading…
Reference in a new issue