We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f740e07 commit af84ccfCopy full SHA for af84ccf
pkg/chunk/iterator_test.go
@@ -3,6 +3,7 @@ package chunk
3
import (
4
"context"
5
"testing"
6
+ "time"
7
8
"github.com/prometheus/common/model"
9
"github.com/prometheus/prometheus/storage/metric"
@@ -106,7 +107,7 @@ func TestLazySeriesIterator_RangeValues(t *testing.T) {
106
107
}{
108
{
109
iterator: iterator,
- interval: metric.Interval{OldestInclusive: now, NewestInclusive: now},
110
+ interval: metric.Interval{OldestInclusive: now.Add(-time.Minute), NewestInclusive: now.Add(time.Minute)},
111
expectedSamples: dummySamples,
112
},
113
} {
0 commit comments