mirror of
https://github.com/prometheus/prometheus
synced 2025-01-11 08:59:37 +00:00
TestConcurrentRangeQueries: log query with error
We've seen some timeouts in CI, and wanted to know what queries are involved. Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
parent
9f91215bf6
commit
9ae3572d24
@ -87,6 +87,7 @@ func TestConcurrentRangeQueries(t *testing.T) {
|
||||
}
|
||||
res := qry.Exec(context.Background())
|
||||
if res.Err != nil {
|
||||
t.Logf("Query: %q, steps: %d, result: %s", c.expr, c.steps, res.Err)
|
||||
return res.Err
|
||||
}
|
||||
qry.Close()
|
||||
|
Loading…
Reference in New Issue
Block a user