Riak in a common test suite
scott at aitrus.org
Tue Jul 12 15:17:13 EDT 2011
While not fool-proof, one idea might be to generate a random string for each
test-block, and prefix any bucket names with said string. While it depends
on what you're doing, I think something like this should work for the bulk
of your tests.
On Tue, Jul 12, 2011 at 9:42 AM, Jared Morrow <jared at basho.com> wrote:
> I'll add something to virtualized option. If you start the vm's from a
> snapshot vm that is already running, but with riak stopped, you could
> possibly get it started and running in a couple of minutes or less. If
> that is reasonable for your test suite, that seems like a good option.
> On Tue, Jul 12, 2011 at 10:29 AM, Mathias Meyer <mathias at basho.com> wrote:
>> that certainly sounds possible, but would extend the run time of your test
>> suite quite considerably, e.g. when you start a fresh set of virtualized
>> instances on every run.
>> An alternative would be to always leave a Riak cluster running for testing
>> purposes and reset it after or before every complete test run, i.e. stop the
>> Riak processes, wipe the data, and start them up again.
>> Ripple (Ruby client for Riak) and riak-js (Node.js client) both include a
>> test server that runs a Riak instance with an in-memory backend, maybe that
>> would be an alternative to go with?
>> Mathias Meyer
>> Developer Advocate, Basho Technologies
>> On Dienstag, 12. Juli 2011 at 18:08, Mikhail Sobolev wrote:
>> > Hi,
>> > As part of our test suite I'd like to start a three node cluster for the
>> > testing purposes.
>> > Could anyone [please! :)] comment on feasibility/possibility of such a
>> > thing?
>> > --
>> > Misha
>> > _______________________________________________
>> > riak-users mailing list
>> > riak-users at lists.basho.com (mailto:riak-users at lists.basho.com)
>> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>> riak-users mailing list
>> riak-users at lists.basho.com
> riak-users mailing list
> riak-users at lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users