Skip to content

Commit

Permalink
[Test] Increase assert receive timeout for :distributed test env
Browse files Browse the repository at this point in the history
  • Loading branch information
slashdotdash committed Jan 9, 2018
1 parent a485581 commit c410a00
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion config/distributed.exs
Expand Up @@ -5,7 +5,7 @@ config :logger, :console, level: :warn, format: "[$level] $message\n"

config :ex_unit,
capture_log: true,
assert_receive_timeout: 5_000,
assert_receive_timeout: 10_000,
refute_receive_timeout: 5_000

config :eventstore, EventStore.Storage,
Expand Down
5 changes: 0 additions & 5 deletions test/support/storage_case.ex
Expand Up @@ -28,11 +28,6 @@ defmodule EventStore.StorageCase do

defp before_reset(:distributed) do
_ = :rpc.multicall(Application, :stop, [:eventstore])

# remove all PG2 groups
for group <- :pg2.which_groups() do
:ok = :pg2.delete(group)
end
end

defp after_reset(:local) do
Expand Down

0 comments on commit c410a00

Please sign in to comment.