From 9ae3572d2456a21126f89cf883039e4f3b288d4a Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Thu, 19 Jan 2023 15:52:29 +0000 Subject: [PATCH] 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 --- promql/promql_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/promql/promql_test.go b/promql/promql_test.go index 5bdeac1d1..1e6535141 100644 --- a/promql/promql_test.go +++ b/promql/promql_test.go @@ -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()