Re: Configuration of network connectors

2013-07-09 Thread Gary Dusbabek
You'd still end up needing to fork tests because of the singleton problem. (Google that one.) I say this without trying, but it shouldn't be terribly hard for you to code up some fixture classes that allow you to test the storage layer, so long as you can tolerate each test running in a forked VM.

Re: Configuration of network connectors

2013-07-09 Thread Łukasz Dywicki
Jeremy, Sadly it does not cover our case. We have unit tests and we want to test really basic things like mappings of data contained in cassandra to our model. For that we don't need cluster at all because in unit tests we don't want to test data distribution. We also would like to run everythin

Re: Configuration of network connectors

2013-07-09 Thread Jeremy Hanna
Have you seen https://github.com/pcmanus/ccm as described in http://www.datastax.com/dev/blog/ccm-a-development-tool-for-creating-local-cassandra-clusters or does that not fit your use case? On 9 Jul 2013, at 14:02, Łukasz Dywicki wrote: > Hello, > First of all I would like to say hello to cas

Configuration of network connectors

2013-07-09 Thread Łukasz Dywicki
Hello, First of all I would like to say hello to cassandra user and developer community. :) I write because we are using Cassandra in our unit tests and we have some troubles with network connectivity. We ca not run multiple cassandra instances during tests because we would need to randomize co