Merge pull request #11869 from bboreham/log-query-error

TestConcurrentRangeQueries: log query with error
This commit is contained in:
Julien Pivotto 2023-01-23 13:54:56 +01:00 committed by GitHub
commit d792f9c566
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ func TestConcurrentRangeQueries(t *testing.T) {
} }
res := qry.Exec(context.Background()) res := qry.Exec(context.Background())
if res.Err != nil { if res.Err != nil {
t.Logf("Query: %q, steps: %d, result: %s", c.expr, c.steps, res.Err)
return res.Err return res.Err
} }
qry.Close() qry.Close()