Skip to content

Commit 5e6f5ab

Browse files
fix: Fix test name uniqueness (#8015)
1 parent 224dc1b commit 5e6f5ab

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

dd-java-agent/agent-logging/src/test/groovy/datadog/trace/logging/simplelogger/SLCompatSettingsTest.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ class SLCompatSettingsTest extends Specification {
190190
["bar": "trace", "foo.bar.baz": "warn"] | [LogLevel.INFO, LogLevel.INFO, LogLevel.WARN]
191191
}
192192

193-
def "test DTFormatter"() {
193+
def "test DTFormatter #iterationIndex"() {
194194
when:
195195
def formatted = new StringBuilder()
196196
dtFormatter.appendFormattedDate(formatted, timeMillis, startTimeMillis)

dd-trace-core/src/test/groovy/datadog/trace/core/tagprocessor/PayloadTagsProcessorTest.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class PayloadTagsProcessorTest extends DDSpecification {
2020
!PayloadTagsProcessor.create(Config.get())
2121
}
2222

23-
def "enabled with defaults when configured"() {
23+
def "enabled with defaults when configured req #requestPayloadTagging resp #responsePayloadTagging"() {
2424
setup:
2525
requestPayloadTagging && injectSysConfig("trace.cloud.request.payload.tagging", requestPayloadTagging)
2626
responsePayloadTagging && injectSysConfig("trace.cloud.response.payload.tagging", responsePayloadTagging)

dd-trace-core/src/test/groovy/datadog/trace/core/util/MatchersTest.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class MatchersTest extends DDSpecification {
3636
pattern << ["", "a", "abc", "cde"]
3737
}
3838

39-
def "a pattern matcher test"() {
39+
def "a pattern matcher test #iterationIndex #pattern"() {
4040
when:
4141
def matcher = Matchers.compileGlob(pattern)
4242

dd-trace-core/src/test/groovy/datadog/trace/lambda/LambdaHandlerTest.groovy

+5
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ class LambdaHandlerTest extends DDCoreSpecification {
2525
this.field1 = "toto"
2626
this.field2 = true
2727
}
28+
29+
@Override
30+
String toString() {
31+
"$field1 / $field2}"
32+
}
2833
}
2934

3035
def "test start invocation success"() {

0 commit comments

Comments
 (0)