Skip to content

Commit

Permalink
fix: more robust query counting (#1218)
Browse files Browse the repository at this point in the history
  • Loading branch information
hperl committed Jan 31, 2023
1 parent 719a7d5 commit 4503a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/check/bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func BenchmarkComputedUsersets(b *testing.B) {

func dbSpans(spans *tracetest.SpanRecorder) (count int) {
for _, s := range spans.Started() {
if strings.HasPrefix(s.Name(), "persistence.sql") {
if strings.HasPrefix(s.Name(), "sql-conn-query") {
count++
}
}
Expand Down

0 comments on commit 4503a74

Please sign in to comment.