Last active
September 7, 2018 14:56
-
-
Save deque-blog/e27158eedc3db2c646222ad7aa0c4395 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Eventually.assertUntil 100, 5, fn() -> | |
same_history = | |
Dispatcher.get_workers() | |
|> Enum.map(fn w -> Worker.get_history(w) end) | |
|> all_equal | |
assert same_history == true | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment