Skip to content

Commit 7490f9c

Browse files
committed
Fix tests under 1.13
Turns out `optional` deps in mix.exs work differently in older Elixir, as it would not load opentelemetry deps which made our tests fail because opentelemetry setup was not loaded.
1 parent bf9e35f commit 7490f9c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

mix.exs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,10 @@ defmodule Sentry.Mixfile do
112112
{:floki, ">= 0.30.0", only: :test},
113113
{:oban, "~> 2.17 and >= 2.17.6", only: [:test]},
114114
{:quantum, "~> 3.0", only: [:test]},
115-
{:opentelemetry, "~> 1.4", optional: true},
116-
{:opentelemetry_api, "~> 1.3", optional: true}
115+
116+
# Required by Tracing
117+
{:opentelemetry, "~> 1.4", only: [:test]},
118+
{:opentelemetry_api, "~> 1.3", only: [:test]}
117119
]
118120
end
119121

0 commit comments

Comments
 (0)