Lauri Tulmin 2023-03-23 13:50:55 +02:00 committed by GitHub
parent e466dc439a
commit bd3117b165
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -91,6 +91,10 @@ class ContextPropagationTest extends AgentInstrumentationSpecification {
then:
assertTraces(2) {
trace(0, 5) {
spans.subList(2, 4).sort {
def destination = it.attributes.get(SemanticAttributes.MESSAGING_DESTINATION_NAME)
return destination == "<default>" ? 0 : 1
}
span(0) {
name "parent"
}