Skip to content

Commit

Permalink
Replace usage of basicSpan (#3650)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit authored Jul 22, 2021
1 parent beb9346 commit 85b7c05
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,13 @@ abstract class HttpClientTest<REQUEST> extends InstrumentationSpecification {
def thrownException = ex instanceof ExecutionException ? ex.cause : ex
assertTraces(1) {
trace(0, 3) {
basicSpan(it, 0, "parent", null, thrownException)
span(0) {
name "parent"
kind SpanKind.INTERNAL
hasNoParent()
status ERROR
errorEvent(thrownException.class, thrownException.message)
}
clientSpan(it, 1, span(0), method, uri, null, thrownException)
serverSpan(it, 2, span(1))
}
Expand Down

0 comments on commit 85b7c05

Please sign in to comment.