Hi
I have the following scenario:
Program is running using postgres async akka persistence.
My database becomes disconnected (server is turned off or otherwise 
unavailable)
Various things fail.
My database is turned back on
Program stops failing

So far so good - the program seems to recover itself.

But is there any way of creating a unit test for this, short of turning my 
database on and off (I'm testing on a single machine) or otherwise mucking 
around at a system level?

For example can I make the persistence module emulate a disconnected 
situaiton?

Thanks
Tim


-- 
>>>>>>>>>>      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 the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to