Skip to content

Commit

Permalink
reset span
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-bli committed Jun 18, 2024
1 parent ceb001a commit c09929e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ trait OpenTelemetryEnabled extends SNTestBase {
assert(span.getAttributes.get(AttributeKey.stringKey("code.filepath")) == fileName)
assert(span.getAttributes.get(AttributeKey.longKey("code.lineno")) == lineNumber)
assert(span.getAttributes.get(AttributeKey.stringKey("method.chain")) == methodChain)
testSpanExporter.reset()
}

override def afterAll: Unit = {
Expand Down

0 comments on commit c09929e

Please sign in to comment.