Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit committed May 1, 2024
1 parent 2d53bd1 commit d6e85ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ void nested() {
span ->
span.hasName("inner-manual")
.hasKind(SpanKind.INTERNAL)
// earliest tested and latest version behave differently
.hasParent(trace.getSpan(Boolean.getBoolean("testLatestDeps") ? 0 : 1))
.hasAttributes(Attributes.empty())));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ void nestedNonBlocking() {
() ->
Mono.defer(
() -> {
// earliest tested and latest version behave differently
// in latest dep test current span is "parent" not "middle"
System.err.println(Span.current());
if (!testLatestDeps) {
Span.current().setAttribute("middle", "foo");
}
Expand Down

0 comments on commit d6e85ff

Please sign in to comment.