Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
qorus
prometheus
Commits
305f383a
Commit
305f383a
authored
Jan 08, 2019
by
beorn7
Browse files
Adjust test_test.go to new Select return order
Signed-off-by:
beorn7
<
beorn@soundcloud.com
>
parent
d6841c52
Changes
1
Hide whitespace changes
Inline
Side-by-side
promql/test_test.go
View file @
305f383a
...
...
@@ -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
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment