diff --git a/tsdb/db_test.go b/tsdb/db_test.go index fc633e1b2a..1bb1dd5ec0 100644 --- a/tsdb/db_test.go +++ b/tsdb/db_test.go @@ -5847,7 +5847,7 @@ func testOOONativeHistogramsWithCounterResets(t *testing.T, scenario sampleTypeS // expCounterResetHints: []histogram.CounterResetHint{histogram.UnknownCounterReset, histogram.NotCounterReset, histogram.NotCounterReset, histogram.NotCounterReset, histogram.NotCounterReset, histogram.CounterReset, histogram.NotCounterReset, histogram.NotCounterReset, histogram.NotCounterReset, histogram.NotCounterReset}, // }, // }, - //}, + // }, //{ // name: "Counter reset right at beginning of OOO samples", // queryMin: minutes(40), diff --git a/tsdb/ooo_head.go b/tsdb/ooo_head.go index 71abc52041..9854b915e9 100644 --- a/tsdb/ooo_head.go +++ b/tsdb/ooo_head.go @@ -15,9 +15,11 @@ package tsdb import ( "fmt" - "github.com/prometheus/prometheus/model/histogram" "sort" + + "github.com/prometheus/prometheus/model/histogram" + "github.com/prometheus/prometheus/tsdb/chunkenc" "github.com/oklog/ulid" diff --git a/tsdb/ooo_head_test.go b/tsdb/ooo_head_test.go index 9ea6db1a3c..c70d7943e8 100644 --- a/tsdb/ooo_head_test.go +++ b/tsdb/ooo_head_test.go @@ -14,9 +14,11 @@ package tsdb import ( - "github.com/prometheus/prometheus/tsdb/tsdbutil" "testing" + + "github.com/prometheus/prometheus/tsdb/tsdbutil" + "github.com/stretchr/testify/require" ) diff --git a/tsdb/testutil.go b/tsdb/testutil.go index 5eea42d78b..e2e6fc2c2e 100644 --- a/tsdb/testutil.go +++ b/tsdb/testutil.go @@ -14,9 +14,11 @@ package tsdb import ( - "github.com/prometheus/prometheus/tsdb/tsdbutil" "testing" + + "github.com/prometheus/prometheus/tsdb/tsdbutil" + prom_testutil "github.com/prometheus/client_golang/prometheus/testutil" "github.com/stretchr/testify/require"