Skip to content

Commit 5352394

Browse files
craig[bot]yuzefovich
andcommitted
Merge #158367
158367: sql: fix dRPC-related flake in TestTrace r=yuzefovich a=yuzefovich When we use dRPC, there is an additional tracing span `/cockroach.roachpb.KVBatch/Batch` that we don't create with gRPC, so mark it as optional in the test. Informs: #158323. Epic: None Release note: None Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>
2 parents ecd43ac + c7ef795 commit 5352394

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/sql/trace_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ func TestTrace(t *testing.T) {
5252
"local proposal",
5353
"admissionWorkQueueWait",
5454
"index recommendation",
55+
"/cockroach.roachpb.KVBatch/Batch", // present with dRPC, absent with gRPC
5556
}
5657
// Depending on whether the data is local or not, we may not see these
5758
// spans. Only applicable with distsql=on.

0 commit comments

Comments
 (0)