Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test case "test heals after a large netsplit (NetsplitTest)" fails #4

Open
ltd opened this issue Feb 22, 2024 · 2 comments
Open

test case "test heals after a large netsplit (NetsplitTest)" fails #4

ltd opened this issue Feb 22, 2024 · 2 comments

Comments

@ltd
Copy link

ltd commented Feb 22, 2024

I'm running tests with
ELIXIR_ERL_OPTIONS='-kernel prevent_overlapping_partitions false' mix test

fails with

     test/netsplit_test.exs:56
     Unexpectedly received message {:hello_from, #PID<22941.277.0>} (which matched {:hello_from, _})
     code: refute_receive({:hello_from, _})
     stacktrace:
       test/netsplit_test.exs:73: (test)

To me it looks like the test case is wrong.

@derekkraan
Copy link
Owner

Can you elaborate? What is the library doing and what would you expect it to do on this situation?

@ltd
Copy link
Author

ltd commented Feb 23, 2024

@derekkraan library is working fine for me. One of the test cases if failing. At first glance it looks like the test cases should never pass, as it never consumes the messages from the cluster creation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants