Skip to content

Commit

Permalink
Fix compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
iRevive committed Nov 10, 2024
1 parent 969b906 commit b8ebbb3
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import io.opentelemetry.sdk.common.InstrumentationScopeInfo
import io.opentelemetry.sdk.testing.time.TestClock
import io.opentelemetry.sdk.trace.SdkTracerProviderBuilder
import io.opentelemetry.sdk.trace.SpanLimits
import io.opentelemetry.sdk.trace.data.ExceptionEventData
import io.opentelemetry.sdk.trace.data.StatusData
import io.opentelemetry.sdk.trace.internal.data.ExceptionEventData
import org.typelevel.otel4s.Attributes
import org.typelevel.otel4s.context.propagation.TextMapPropagator
import org.typelevel.otel4s.oteljava.AttributeConverters._
Expand Down Expand Up @@ -94,12 +94,7 @@ class TracerSuite extends BaseTracerSuite[Context, Context.Key] {
val exception = new RuntimeException("error") with NoStackTrace

def expected(epoch: Long) =
ExceptionEventData.create(
SpanLimits.getDefault,
epoch,
exception,
JAttributes.empty()
)
ExceptionEventData.create(epoch, exception, JAttributes.empty(), 0)

TestControl.executeEmbed {
for {
Expand Down

0 comments on commit b8ebbb3

Please sign in to comment.