I have 2 running nodes, A and B. How can I start a supervisor on B from my tests running on node A?
:rpc calls to start the supervisor, unlinking it from the caller process, but it always dies once the rpc call returns (why?)
A bit more context:
I’m writing a library for a small distributed key/value store, and would like to test its distributed aspect with ExUnit. I’m using the “local_cluster” library (https://github.com/whitfin/local-cluster) to easily start a cluster from the unit tests. Also, as it’s a library I’m writing, there’s no “application” code.
Any insight welcome! Thanks