|
|
|
@ -31,6 +31,9 @@ defmodule BlockScoutWeb.ChannelCase do |
|
|
|
|
setup tags do |
|
|
|
|
:ok = Ecto.Adapters.SQL.Sandbox.checkout(Explorer.Repo) |
|
|
|
|
|
|
|
|
|
Supervisor.terminate_child(Explorer.Supervisor, {ConCache, Explorer.Market.MarketHistoryCache.cache_name()}) |
|
|
|
|
Supervisor.restart_child(Explorer.Supervisor, {ConCache, Explorer.Market.MarketHistoryCache.cache_name()}) |
|
|
|
|
|
|
|
|
|
unless tags[:async] do |
|
|
|
|
Ecto.Adapters.SQL.Sandbox.mode(Explorer.Repo, {:shared, self()}) |
|
|
|
|
end |
|
|
|
|