From 305f383af457b80f502cf9fbfff65268ed98a789 Mon Sep 17 00:00:00 2001 From: beorn7 Date: Tue, 8 Jan 2019 13:54:50 +0100 Subject: [PATCH] Adjust test_test.go to new Select return order Signed-off-by: beorn7 --- promql/test_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/promql/test_test.go b/promql/test_test.go index 995090382..3245d07ed 100644 --- a/promql/test_test.go +++ b/promql/test_test.go @@ -14,11 +14,12 @@ package promql import ( - "github.com/prometheus/prometheus/pkg/labels" "math" "testing" "time" + "github.com/prometheus/prometheus/pkg/labels" + "github.com/prometheus/prometheus/util/testutil" ) @@ -132,7 +133,7 @@ func TestLazyLoader_WithSamplesTill(t *testing.T) { } // Get the series for the matcher. - ss, err, _ := querier.Select(nil, matchers...) + ss, _, err := querier.Select(nil, matchers...) testutil.Ok(t, err) testutil.Assert(t, ss.Next(), "") storageSeries := ss.At()