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

2011-10-23 Thread Jonathan Ellis
I see a couple options. StorageProxy has this constant: private static final boolean OPTIMIZE_LOCAL_REQUESTS = true; // set to false to test messagingservice path on single node So, you could make it an instance variable and create a SP object with it set to false for tests. Or, you could d

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

2011-10-23 Thread Zach Richardson
Thanks, Will give these a shot. On Sun, Oct 23, 2011 at 11:18 AM, Jonathan Ellis wrote: > I see a couple options. > > StorageProxy has this constant: > >private static final boolean OPTIMIZE_LOCAL_REQUESTS = true; // > set to false to test messagingservice path on single node > > So, you co