diff --git a/src/test/scala/com/snowflake/snowpark/OpenTelemetryEnabled.scala b/src/test/scala/com/snowflake/snowpark/OpenTelemetryEnabled.scala index 9ab53790..a9b31440 100644 --- a/src/test/scala/com/snowflake/snowpark/OpenTelemetryEnabled.scala +++ b/src/test/scala/com/snowflake/snowpark/OpenTelemetryEnabled.scala @@ -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 = {