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.
Scott On Tue, Jul 12, 2011 at 9:42 AM, Jared Morrow <ja...@basho.com> wrote: > Mikhail, > > 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. > > -Jared > > > On Tue, Jul 12, 2011 at 10:29 AM, Mathias Meyer <math...@basho.com> wrote: > >> Mikhail, >> >> 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@lists.basho.com (mailto:riak-users@lists.basho.com) >> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >> >> >> >> _______________________________________________ >> riak-users mailing list >> riak-users@lists.basho.com >> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >> > > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com