Re: Distributed testing

2011-11-30 Thread Zach Richardson
One thing that I think would help with this, that I noticed when wanting to shoot myself in the head when trying to write unit tests to test anything, is getting rid of the ridiculously large number of static classes. I understand this would be a very large effort (and would make the code more ver

Re: Trying to write tests for CASSANDRA-3127 (Internode Compression)

2011-10-26 Thread Zach Richardson
seful, and is used in a couple other tests. > > On Sun, Oct 23, 2011 at 11:54 AM, Zach Richardson wrote: > >> Thanks, >> >> Will give these a shot. >> >> On Sun, Oct 23, 2011 at 11:18 AM, Jonathan Ellis >> wrote: >> >> > I see a couple

Re: Trying to write tests for CASSANDRA-3127 (Internode Compression)

2011-10-23 Thread Zach Richardson
e node > > So, you could make it an instance variable and create a SP object with > it set to false for tests. > > Or, you could do a test using ccm for multinode control, as in the > long_read.sh test on > https://issues.apache.org/jira/browse/CASSANDRA-3303. > > On

Trying to write tests for CASSANDRA-3127 (Internode Compression)

2011-10-21 Thread Zach Richardson
Hi All, I have been working on an implementation for internode compression (CASSANDRA-3127.) https://issues.apache.org/jira/browse/CASSANDRA-3127 I have written code that "works," but I'm looking for some advice on how to write unit tests for it. At the moment it compresses where: interrnode_me