Re: How to unit test a new flag in QueryOptions regarding PreparedStatements

2014-06-17 Thread Sylvain Lebresne
You'd probably have to expose a version of executeOnceInternal that directly expose the QueryOptions, but I don't think it would shock anyone. That said, I'm not entirely convinced that modifying the protocol is the way to go for CASSANDRA-7304, so you might want to start first by explaining what

How to unit test a new flag in QueryOptions regarding PreparedStatements

2014-06-17 Thread Peer, Oded
I am trying to solve CASSANDRA-7304 by adding a new flag to QueryOptions. I changed the core code and now I want to add a unit test. I followed the logic in TupleTypeTest and CQLTester however in order to use this framework I'd need to change the QueryProcessor.executeOnceInternal() to accept th