[erlang-questions] Best practices for QAing distribution?

Heinz Nikolaus Gies <>
Tue Nov 25 20:47:18 CET 2014


riak_test could be a good starting point, I had started to make it less riak and more test but ended with something along the lines of riak_core_test. However I think with a bit of effort it could be generalized to erlang_net_test. It handles multiple nodes and can spin them up turn them down and run tests against a interface on them. When I am not mistaken it can also simulate splits by changing the erlang cookie on the nodes and breaking distribution.

---
Cheers,
Heinz Nikolaus Gies




> On Nov 25, 2014, at 18:18, Christopher Phillips <> wrote:
> 
> 
> Does anyone have a library or a set of best practices for testing netsplits? I.e., given a couple nodes, create a netsplit between them and see what one's distributed application ~really~ does in such a situation? I've looked around a bit online but my google-fu has failed me, as I wasn't able to find anything that seemed to do what I'm looking for, either in Erlang specifically, or just in a general application sense (there's Jepsen, but that seems geared for testing generic distribution libraries in a basic sense, rather than domain specific code, and I'm not very good with Clojure) which seems...odd. I've got some ideas,  but figured I'd ask around to see if anyone has done anything similar first.
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list