Integration tests with Stubbed Cassandra

69 views
Skip to first unread message

Anders Båtstrand

unread,
Oct 20, 2015, 9:00:59 AM10/20/15
to Akka User List
Dear group

I am trying to implement some integration tests of my system using Stubbed Cassandra (to test what happens when requests time out etc).

The problem is that Akka Persistence makes a lot of queries, and it would take a lot of priming for the stubbed Cassandra to behave like the real server.

Has anyone of you done this successfully? Or do you integration-test timeouts etc in another way?

Best regards,

Anders Båtstrand

Juan José Vázquez Delgado

unread,
Oct 21, 2015, 3:24:11 AM10/21/15
to Akka User List
Hi Anders, 

You might want to have a look into this [1]. I've used its Cassandra embedded server in several ocassions, e.g. [2]. Hope this helps.

Anders Båtstrand

unread,
Oct 22, 2015, 11:17:47 AM10/22/15
to akka...@googlegroups.com
Thank you for your answer!

I am not fully sure how that is supposed to work... Would you like to
give me some pointers? I could not find much information in that kind
of usage from the links...

Best regards,

Anders

Juan José Vázquez Delgado

unread,
Oct 22, 2015, 11:31:34 AM10/22/15
to akka...@googlegroups.com
Yo can find the documentation here [1]. You'll see that it's easy and fun!. Remember to get the artifact version updated.


--
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to a topic in the Google Groups "Akka User List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/akka-user/3pWgudRyhVA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
--

Juan José Vázquez Delgado

CTO

Tecsisa

C/Quintanavides, 19

Parque Vía Norte

Edificio 4, Planta 3, Oficina H

28050 Madrid

T: +34 91 182 04 70

F: +34 91 447 05 11

E: juanjo.vazq...@tecsisa.com

W: www.tecsisa.com

Reply all
Reply to author
Forward
0 new messages