Skip to content

Commit

Permalink
fix: Fix test name uniqueness (#8015)
Browse files Browse the repository at this point in the history
  • Loading branch information
PerfectSlayer authored Nov 26, 2024
1 parent 224dc1b commit 5e6f5ab
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class SLCompatSettingsTest extends Specification {
["bar": "trace", "foo.bar.baz": "warn"] | [LogLevel.INFO, LogLevel.INFO, LogLevel.WARN]
}

def "test DTFormatter"() {
def "test DTFormatter #iterationIndex"() {
when:
def formatted = new StringBuilder()
dtFormatter.appendFormattedDate(formatted, timeMillis, startTimeMillis)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class PayloadTagsProcessorTest extends DDSpecification {
!PayloadTagsProcessor.create(Config.get())
}

def "enabled with defaults when configured"() {
def "enabled with defaults when configured req #requestPayloadTagging resp #responsePayloadTagging"() {
setup:
requestPayloadTagging && injectSysConfig("trace.cloud.request.payload.tagging", requestPayloadTagging)
responsePayloadTagging && injectSysConfig("trace.cloud.response.payload.tagging", responsePayloadTagging)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class MatchersTest extends DDSpecification {
pattern << ["", "a", "abc", "cde"]
}

def "a pattern matcher test"() {
def "a pattern matcher test #iterationIndex #pattern"() {
when:
def matcher = Matchers.compileGlob(pattern)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ class LambdaHandlerTest extends DDCoreSpecification {
this.field1 = "toto"
this.field2 = true
}

@Override
String toString() {
"$field1 / $field2}"
}
}

def "test start invocation success"() {
Expand Down

0 comments on commit 5e6f5ab

Please sign in to comment.