ok it's a bit surprising but it is also true that doing this kind of gossip
test with unit tests should not be obvious...

CCM is indeed very useful and works well. I wanted to be sure not to
miss anything with unit test :-)


2011/8/30 Jonathan Ellis <jbel...@gmail.com>

> Unfortunately, Gossip falls into the category of "usually we have to
> test it manually."
>
> You might be able to do something using ccm [1] and the recently added
> JMX hooks for Gossip [2], as in this script: [3].  But again, if you
> decide to test manually you won't be alone. :)
>
> [1] https://github.com/pcmanus/ccm
> [2] https://issues.apache.org/jira/browse/CASSANDRA-2806
> [3]
> https://issues.apache.org/jira/secure/attachment/12488169/reliable_short_read_0.8.sh
>
> 2011/8/30 Jérémy SEVELLEC <jsevel...@gmail.com>:
> > Hello everyone,
> >
> > Let me present me : I'm Jeremy. I'm French and author of cassandra-unit.
> I
> > trying to help on Cassandra.
> >
> >
> > I'm looking at the
> > CASSANDRA-2961<https://issues.apache.org/jira/browse/CASSANDRA-2961>
> >  which is about gossip and dead states removal. I'm trying to understand
> how
> > unit tests are done about gossip. For now, I've just find some unit test
> > into org.apache.cassandra.gms but there is not a lot of things.
> >
> > how did you usually make your gossip tests?
> >
> > Regards,
> >
> > --
> > Jérémy
> >
>
>
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com
>



-- 
Jérémy

Reply via email to