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 w
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.
-
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