cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: How to unit test my code calling Cassandra with Thift
Date Wed, 20 Jan 2010 13:47:18 GMT
did you look at CassandraDaemon?

On Wed, Jan 20, 2010 at 4:44 AM, Richard Grossman <richiesgr@gmail.com> wrote:
> Hi
>
> I want to write some unitest for code calling cassandra. So my code of
> course use Thrift.
> I've managed to up the cassandra deamon into my JVM like this :
>
>         StorageService.instance().initServer();
>
> Unfortunatly it's doest start the thrift interface so my code can't talk
> with the server. Is there any solution ?
> perhaps my method is not good.
>
> Thanks
>
> Richard
>

Mime
View raw message