Skip to content

Commit

Permalink
increase receive timeouts in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis committed May 11, 2022
1 parent 55e9e3a commit d5590d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test_helper.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ Application.ensure_started(:telemetry)
{:ok, _pid} =
[Volley.SpearClient] |> Supervisor.start_link(strategy: :one_for_one)

ExUnit.configure(assert_receive_timeout: 1_000)
ExUnit.configure(assert_receive_timeout: 1_500)
ExUnit.start()
2 changes: 1 addition & 1 deletion test/volley/persistent_subscription_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ defmodule Volley.BroadwayPersistentSubscriptionTest do
events when is_list(events) -> collect_events([events | acc])
%Spear.Event{} = event -> collect_events([event | acc])
after
500 -> acc |> List.flatten() |> MapSet.new(& &1.body)
1000 -> acc |> List.flatten() |> MapSet.new(& &1.body)
end
end
end

0 comments on commit d5590d0

Please sign in to comment.