Fix flickering transaction_estimated_count/1 test (#10403)

pull/10395/head
Victor Baranov 5 months ago committed by GitHub
parent 772fae1750
commit 6488951e89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      apps/explorer/test/explorer/chain_test.exs

@ -2221,6 +2221,12 @@ defmodule Explorer.ChainTest do
end
describe "transaction_estimated_count/1" do
setup do
Supervisor.terminate_child(Explorer.Supervisor, Explorer.Chain.Cache.Transaction.child_id())
Supervisor.restart_child(Explorer.Supervisor, Explorer.Chain.Cache.Transaction.child_id())
:ok
end
test "returns integer" do
assert is_integer(TransactionCache.estimated_count())
end

Loading…
Cancel
Save