From 254d6b46a172af382a05d66bbb22b9d5434bbed5 Mon Sep 17 00:00:00 2001 From: Luke Imhoff Date: Wed, 19 Dec 2018 13:16:46 -0600 Subject: [PATCH] Increase assert_receive timeout --- .../test/indexer/token_transfer/uncataloged/worker_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/indexer/test/indexer/token_transfer/uncataloged/worker_test.exs b/apps/indexer/test/indexer/token_transfer/uncataloged/worker_test.exs index b1cd8a2221..6c64a646f3 100644 --- a/apps/indexer/test/indexer/token_transfer/uncataloged/worker_test.exs +++ b/apps/indexer/test/indexer/token_transfer/uncataloged/worker_test.exs @@ -24,7 +24,7 @@ defmodule Indexer.TokenTransfer.Uncataloged.WorkerTest do test "sends shutdown to supervisor" do state = %{task_ref: nil, block_numbers: [], sup_pid: self()} Task.async(fn -> Worker.handle_info(:scan, state) end) - assert_receive {_, _, {:terminate, :normal}} + assert_receive {_, _, {:terminate, :normal}}, 200 end test "sends message to self when uncataloged token transfers are found" do