local-cluster icon indicating copy to clipboard operation
local-cluster copied to clipboard

Easy local cluster creation for Elixir to aid in unit testing

Results 11 local-cluster issues
Sort by recently updated
recently updated
newest added

This PR allows the LocalCluster library to work with any node name instead of the hardcoded `[email protected]`. This may be useful if other parts of the test suite require a...

I am working on a Spawnfest idea and I am using LocalCluster to test the distribution. If I start my supervision tree implicitly (with the `:mod` key), then `Application.ensure_started` works...

This patch fixes two minor issues: - when setting env, the application must be loaded (and not started) before calling Application.put_env, otherwise if the app is not loaded when env...

I'd like to use this library not inside unit-tests, but inside some integration tests that ensure that the core functionality of our distributed application (https://planga.io) keeps functioning within expected bounds,...

The title here is probably more of a potential solution then the underlying problem. In a lot of my tests I need to ensure that nodes discover and connect to...

I wrote a simplified version of a test based on the documentation, over here: https://github.com/whitfin/local-cluster#usage However, when I run the test it fails (message not received), and I see the...

The old :slave module is deprecated and will be removed from OTP 27. I replaced the :slave module with the :peer module. I fixed the tests. This change is not...

When trying to use version 2 in the mix.exs file I get an error. The problem disappears if I change version 2 for the older version 1 and it also...

Thanks for the lovely library! # Why I have a testing scenario where I need to artificially generate partitions in the local cluster to test some functionality. If I do...