opentelemetry-erlang-contrib/instrumentation/opentelemetry_ecto/test/test_helper.exs

6 lines
152 B
Elixir

OpentelemetryEcto.TestRepo.start_link()
ExUnit.start(capture_log: true)
Ecto.Adapters.SQL.Sandbox.mode(OpentelemetryEcto.TestRepo, {:shared, self()})