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 8745806
Show file tree
Hide file tree
Showing 2 changed files with 3 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,8 @@ void nestedNonBlocking() {
() ->
Mono.defer(
() -> {
// earliest tested and latest version behave differently
// in latest dep test current span is "parent" not "middle"
if (!testLatestDeps) {
Span.current().setAttribute("middle", "foo");
}
Expand Down

0 comments on commit 8745806

Please sign in to comment.