Skip to content

Commit ce0cb55

Browse files
committed
fix: Fix test name uniqueness
1 parent 2859f08 commit ce0cb55

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

dd-java-agent/agent-ci-visibility/src/test/groovy/datadog/trace/civisibility/git/LocalFSGitInfoExtractorTest.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class LocalFSGitInfoExtractorTest extends DDSpecification {
5050
)
5151
}
5252

53-
def "test git info extraction for local fs"() {
53+
def "test git info extraction for local fs #gitFolder"() {
5454
setup:
5555
def sut = new LocalFSGitInfoExtractor()
5656

@@ -119,7 +119,7 @@ class LocalFSGitInfoExtractorTest extends DDSpecification {
119119
fullMessage == null
120120
}
121121

122-
def "test repository url with different remotes"() {
122+
def "test repository url with different remotes #gitFolder"() {
123123
setup:
124124
def sut = new LocalFSGitInfoExtractor()
125125

dd-java-agent/agent-ci-visibility/src/test/groovy/datadog/trace/civisibility/ipc/SerializerTest.groovy

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,11 @@ class SerializerTest extends Specification {
154154
this.b = b
155155
}
156156

157+
@Override
158+
String toString() {
159+
"$a / $b"
160+
}
161+
157162
boolean equals(o) {
158163
if (this.is(o)) {
159164
return true

0 commit comments

Comments
 (0)