Skip to content

Commit 0ee26e8

Browse files
Marked tests as flaky on GitLab CI. (#11001)
Marked tests as flaky on GitLab CI. Co-authored-by: alexey.kuznetsov <alexey.kuznetsov@datadoghq.com>
1 parent 847896e commit 0ee26e8

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

dd-java-agent/instrumentation/cics-9.1/src/test/groovy/JavaGatewayInterfaceInstrumentationTest.groovy

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
import static datadog.trace.agent.test.utils.TraceUtils.runUnderTrace
2+
13
import com.ibm.connector2.cics.ECIInteraction
24
import com.ibm.ctg.client.JavaGateway
35
import datadog.trace.agent.test.InstrumentationSpecification
46
import datadog.trace.api.DDSpanTypes
57
import datadog.trace.bootstrap.CallDepthThreadLocalMap
68
import datadog.trace.bootstrap.instrumentation.api.Tags
7-
8-
import static datadog.trace.agent.test.utils.TraceUtils.runUnderTrace
9+
import datadog.trace.test.util.Flaky
910

1011
class JavaGatewayInterfaceInstrumentationTest extends InstrumentationSpecification {
1112

@@ -53,6 +54,7 @@ class JavaGatewayInterfaceInstrumentationTest extends InstrumentationSpecificati
5354
serverThread?.join(1000)
5455
}
5556

57+
@Flaky("Flaky on GitLab CI: assert span.isError() == errored")
5658
def "flow without parent creates new span"() {
5759
when:
5860
try {
@@ -83,6 +85,7 @@ class JavaGatewayInterfaceInstrumentationTest extends InstrumentationSpecificati
8385
}
8486
}
8587

88+
@Flaky("Flaky on GitLab CI: Caused by: java.lang.AssertionError: Tag peer.port: null != 40409")
8689
def "flow with parent span merges into parent"() {
8790
when:
8891
try {

0 commit comments

Comments
 (0)