basho / riak_core

Distributed systems infrastructure used by Riak.
Apache License 2.0
1.23k stars 392 forks source link

Does anyone have an example of Euint testing a distributed system using riak_core? #1011

Open morguee opened 11 months ago

morguee commented 11 months ago

Hi, I am looking for an example/github repo of EUint testing a distributed system that uses riak_core. I am trying to add riak_core to my erlang project, which already has extensive EUint testing, and would like to avoid using common tests. I have already used this tutorial to get me started on adding riak_core to my project, however it only has a common test example. My first question would be: Is it even possible to use EUint testing while using riak_core? Thank you.

martinsumner commented 11 months ago

Riak KV has some eunit tests, where there is a dependency on riak_core. There are some helper functions in riak_kv_test_util to help with setup and clean down for this.

Not sure this is helpful as the eunit tests aren't generally testing any of the distribution features - for that riak_test is used https://github.com/basho/riak_test/tree/develop-3.2.