You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2014/08/28 17:34:09 UTC

[jira] [Commented] (SLIDER-371) improve test teardown handling of deletion failures

    [ https://issues.apache.org/jira/browse/SLIDER-371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14113859#comment-14113859 ] 

Steve Loughran commented on SLIDER-371:
---------------------------------------

{code}
78633 :java.io.IOException: Unable to delete file: C:\Users\ADMINI~1\AppData\Local\Temp\junit6453803
530937178633\testpkg\appdef_1.zip
java.io.IOException: Unable to delete file: C:\Users\ADMINI~1\AppData\Local\Temp\junit64538035309371
78633\testpkg\appdef_1.zip
        at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279)
        at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
        at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
        at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
        at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
        at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
        at org.apache.slider.agent.AgentMiniClusterTestBase.cleanSubConfFiles(AgentMiniClusterTestBa
se.groovy:86)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
{code}

> improve test teardown handling of deletion failures
> ---------------------------------------------------
>
>                 Key: SLIDER-371
>                 URL: https://issues.apache.org/jira/browse/SLIDER-371
>             Project: Slider
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: Slider 0.60
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> windows test runs are creating errors about agent.zip files; probably they are in use by "something".
> Test runner should stop printing stacks and simply mark for deletion in JVM teardown



--
This message was sent by Atlassian JIRA
(v6.2#6252)