[ 
http://issues.ops4j.org/browse/PAXEXAM-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13280#action_13280
 ] 

Toni Menzel commented on PAXEXAM-165:
-------------------------------------

Hi Miroslav,
This should not happen in 1.2.0 anymore. Can you make sure you are using a 
version >= 1.2.0 of Exam ?
If it still happens ( i just tried, and worked!), pls provide a full log to 
this issue.
Toni

> Failure to remove pax "lock" file when test is killed / ends abruptly
> ---------------------------------------------------------------------
>
>                 Key: PAXEXAM-165
>                 URL: http://issues.ops4j.org/browse/PAXEXAM-165
>             Project: Pax Exam
>          Issue Type: Bug
>    Affects Versions: 1.2.2
>         Environment: Junit.
>            Reporter: Miroslav Pokorny
>            Assignee: Toni Menzel
>             Fix For: 2.0.0
>
>
> PROBLEM
> The runner does not remove the lock file (co located with the temporary 
> directory of bundles) when it completes abruptly. 
> I have found a few times when I killed my junit pax exam test (within eclipse 
> by clicking on the red stop button) the test terminated but the lock was not 
> removed, so next time i wish to run the test i have to manually delete the 
> file myself beforehand.
> SUGGESTION
> I think the equivalent of a shutdown hook in prolly the remote runner should 
> check and delete the lock file when it exists.
> WORK AROUND
> For the moment i need to navigate to my home directory and find a directory 
> called something like "paxexam_runner_${user-name}"  and delete a file called 
> something like pax.lock.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to