Skip to content

Commit 8185dcf

Browse files
fix(resilience4j): Fix unstable test name (#10841)
fix(resilience4j): Fix unstable test name Merge branch 'master' into bbujon/ci-tests Co-authored-by: sarahchen6 <sarah.chen@datadoghq.com>
1 parent 1bd6a0a commit 8185dcf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dd-java-agent/instrumentation/resilience4j/resilience4j-2.0/src/test/groovy/FallbackTest.groovy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import static datadog.trace.agent.test.utils.TraceUtils.runUnderTrace
2121
class FallbackTest extends InstrumentationSpecification {
2222
static singleThreadExecutor = Executors.newSingleThreadExecutor()
2323

24-
def "ofSupplier"(DecorateSupplier<String> decorateSupplier) {
24+
def "ofSupplier #iterationIndex"(DecorateSupplier<String> decorateSupplier) {
2525
setup:
2626
def supplier = decorateSupplier.decorate()
2727

@@ -55,7 +55,7 @@ class FallbackTest extends InstrumentationSpecification {
5555
]
5656
}
5757

58-
def "ofCheckedSupplier"(DecorateCheckedSupplier<String> decorateCheckedSupplier) {
58+
def "ofCheckedSupplier #iterationIndex"(DecorateCheckedSupplier<String> decorateCheckedSupplier) {
5959
setup:
6060
CheckedSupplier<String> supplier = decorateCheckedSupplier.decorate()
6161

@@ -89,7 +89,7 @@ class FallbackTest extends InstrumentationSpecification {
8989
]
9090
}
9191

92-
def "ofCallable"(DecorateCallable<String> decorateCallable) {
92+
def "ofCallable #iterationIndex"(DecorateCallable<String> decorateCallable) {
9393
setup:
9494
def callable = decorateCallable.decorate()
9595

@@ -123,7 +123,7 @@ class FallbackTest extends InstrumentationSpecification {
123123
]
124124
}
125125

126-
def "ofCompletionStage"(Supplier<CompletionStage<String>> supplier) {
126+
def "ofCompletionStage #iterationIndex"(Supplier<CompletionStage<String>> supplier) {
127127
when:
128128
def future = runUnderTrace("parent") { supplier.get().toCompletableFuture() }
129129

0 commit comments

Comments
 (0)