Thanks , I am using the default journal .
when I run the tests from the IDE (intellij ) tthey run fine , I am getting
that error when I run tests from maven (mvn clean install or test   )

2015-07-09 22:51 GMT+03:00 Magnus Andersson <[email protected]>:

> 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 a topic in the
> Google Groups "Akka User List" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/akka-user/OeRJCCiCk0o/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
>

-- 
>>>>>>>>>>      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