What type of journal/storage are you using?
Perhaps you are sharing the default LevelDB journal which is meant for one 
actor only and having multiple tests trying to access it concurrently?

I would recommend using the in memory journal found on community 
contributions page when running tests.

/Magnus

Den torsdag 9 juli 2015 kl. 11:35:50 UTC+2 skrev Avi:
>
> Hi ,
> I hope that this is the right place for this question,.
> I am trying to run tests on persistence actor - all tests pass,however 
> when running all tests with maven I am getting 
> [ERROR] [07/09/2015 12:18:50.410] 
> [systemTest-akka.actor.default-dispatcher-4] 
> [akka://systemTest/system/journal] IO error: lock  /journal/LOCK: already 
> held by process
> each test class have different ActorSystem (using TestKit) , each actor 
> have a unique name (e.g system.actorOf(MyActor.props(UUID)) . 
>
> why am I still getting this lock ? what am I doing wrong ?
>
> Please advise
> Thanks
> Avi
>
>
>

-- 
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to