basho / giddyup

Visual scorecard for riak_test.
http://giddyup.basho.com/
54 stars 12 forks source link

Adding Riak CS testing #65

Closed kellymclaughlin closed 11 years ago

kellymclaughlin commented 11 years ago

The CS riak tests live in the riak_cs repo in riak_test/tests. The test modules are:

All of the tests rely on some common code that is in the rtcs module in riak_test/src. The repl test also uses the repl_helpers module in riak_test/src.

The only ee specific test is the repl_test, but all of the tests can be run with an ee build. An ee build for riak_cs can be generated by setting RIAK_CS_EE_DEPS in the environment prior to building.

A normal command-line execution of all of the tests looks like this:

./riak_test -c rtdev -d ~/basho/riak_test_builds/riak_cs/riak_test/ebin/ -d ~/basho/riak_test_builds/riak_cs/ebin/ -v

Some people report not needing the second -d to load the riak_cs top-level beams into the code path, but I use it just in case.