Skip to content

Commit e19a808

Browse files
bm1549claude
andcommitted
Fix verbose test name in B3HttpInjectorTest
Add #traceId and #samplingPriority to the data-driven test name so Spock uses those values instead of dumping all data table columns into the generated test name. tag: no release note Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 97429bd commit e19a808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dd-trace-core/src/test/groovy/datadog/trace/core/propagation/B3HttpInjectorTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class B3HttpInjectorTest extends DDCoreSpecification {
3939
return StringUtils.padHexLower(id, size)
4040
}
4141

42-
def "inject http headers"() {
42+
def "inject http headers [#traceId #samplingPriority]"() {
4343
setup:
4444
HttpCodec.Injector injector = B3HttpCodec.newCombinedInjector(tracePropagationB3Padding())
4545
def writer = new ListWriter()

0 commit comments

Comments
 (0)