Sort traces to reduce flakiness
MODIFY
instrumentation/opentelemetry-api-1.0/javaagent/src/test/groovy/TracerTest.groovy
instrumentation/opentelemetry-api-1.0/javaagent/src/test/groovy/TracerTest.groovy
@@ -180,6 +180,7 @@ class TracerTest extends AgentInstrumentationSpecification {
then:
assertTraces(2) {
+ traces.sort(orderByRootSpanName("parent", "test"))
trace(0, 1) {
span(0) {
name "parent"

Sort traces to reduce flakiness (#2754)