mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Adjust test_test.go to new Select return order
Signed-off-by: beorn7 <beorn@soundcloud.com>
This commit is contained in:
parent
d6841c52e0
commit
305f383af4
|
@ -14,11 +14,12 @@
|
||||||
package promql
|
package promql
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/prometheus/prometheus/pkg/labels"
|
|
||||||
"math"
|
"math"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/prometheus/prometheus/pkg/labels"
|
||||||
|
|
||||||
"github.com/prometheus/prometheus/util/testutil"
|
"github.com/prometheus/prometheus/util/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -132,7 +133,7 @@ func TestLazyLoader_WithSamplesTill(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get the series for the matcher.
|
// Get the series for the matcher.
|
||||||
ss, err, _ := querier.Select(nil, matchers...)
|
ss, _, err := querier.Select(nil, matchers...)
|
||||||
testutil.Ok(t, err)
|
testutil.Ok(t, err)
|
||||||
testutil.Assert(t, ss.Next(), "")
|
testutil.Assert(t, ss.Next(), "")
|
||||||
storageSeries := ss.At()
|
storageSeries := ss.At()
|
||||||
|
|
Loading…
Reference in a new issue