Skip to content

Commit

Permalink
Try to clear out intermittently failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
derekkraan committed Oct 10, 2024
1 parent fca3905 commit 94e408b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/registry_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,8 @@ defmodule RegistryTest do
delta_crdt_options: [sync_interval: 20]
)

Process.sleep(40)

Horde.Registry.register(horde, :carmen, "foo")

assert [{self(), "foo"}] == Horde.Registry.lookup(horde, :carmen)
Expand All @@ -580,6 +582,8 @@ defmodule RegistryTest do

Horde.Registry.register(horde, :carmen, "bar")

Process.sleep(40)

name = {:via, Horde.Registry, {horde, :carmen}}
assert [{self(), "bar"}] == Horde.Registry.lookup(name)
end
Expand Down

0 comments on commit 94e408b

Please sign in to comment.