Sort traces to reduce flakiness (#2754)

This commit is contained in:
Lauri Tulmin 2021-04-08 18:49:35 +03:00 committed by GitHub
parent c872513896
commit c943c5da93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -180,6 +180,7 @@ class TracerTest extends AgentInstrumentationSpecification {
then:
assertTraces(2) {
traces.sort(orderByRootSpanName("parent", "test"))
trace(0, 1) {
span(0) {
name "parent"