setup rolling window tests

pull/2255/head
Ayrat Badykov 5 years ago
parent f713033fae
commit 2111d2ba31
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 3
      apps/ethereum_jsonrpc/test/ethereum_jsonrpc/rolling_window_test.exs

@ -10,8 +10,11 @@ defmodule EthereumJSONRPC.RollingWindowTest do
setup do
# We set `window_length` to a large time frame so that we can sweep manually to simulate
# time passing
{:ok, pid} =
RollingWindow.start_link([table: @table, duration: :timer.minutes(120), window_count: 3], name: RollingWindow)
on_exit(fn -> Process.exit(pid, :normal) end)
:ok
end

Loading…
Cancel
Save