From c81da2dd97edbc1610be597d1f4b8ec916c61d99 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Mon, 3 Jun 2019 11:53:10 +0300 Subject: [PATCH] restart cache for every test --- apps/explorer/test/support/data_case.ex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/explorer/test/support/data_case.ex b/apps/explorer/test/support/data_case.ex index 68bb21434c..3103b6a6c0 100644 --- a/apps/explorer/test/support/data_case.ex +++ b/apps/explorer/test/support/data_case.ex @@ -40,6 +40,9 @@ defmodule Explorer.DataCase do end Explorer.Chain.BlockNumberCache.setup() + Supervisor.terminate_child(Explorer.Supervisor, ConCache) + Supervisor.restart_child(Explorer.Supervisor, ConCache) + :ok end