restart cache for every test

pull/2075/head
Ayrat Badykov 6 years ago
parent 4011865ec9
commit c81da2dd97
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 3
      apps/explorer/test/support/data_case.ex

@ -40,6 +40,9 @@ defmodule Explorer.DataCase do
end end
Explorer.Chain.BlockNumberCache.setup() Explorer.Chain.BlockNumberCache.setup()
Supervisor.terminate_child(Explorer.Supervisor, ConCache)
Supervisor.restart_child(Explorer.Supervisor, ConCache)
:ok :ok
end end

Loading…
Cancel
Save