db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5455) assertDirectoryDeleted diagnostic printed on console near end of running JUnit tests
Date Wed, 12 Oct 2011 12:43:11 GMT

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

Kristian Waagan commented on DERBY-5455:
----------------------------------------

I don't think anyone is collecting statistics on this.

Maybe the level of noise is too high. Would it be an idea to only start printing warnings
after the second attempt fails?
At that point, all files have been attempted deleted once, and then another attempt was made
after sleeping for two seconds. We could loose out on traces after situations where we delete
booted databases (or at least where the database is in progress of being shut down), but that
may not be a problem.  Real problems, for instance where we fail to close file handles, wouldn't
be affected by such a change.
                
> assertDirectoryDeleted diagnostic printed on console near end of running JUnit tests
> ------------------------------------------------------------------------------------
>
>                 Key: DERBY-5455
>                 URL: https://issues.apache.org/jira/browse/DERBY-5455
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.8.2.2
>         Environment: mac os x 10.6.8, Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3515)
>            Reporter: Rick Hillegas
>            Priority: Minor
>
> Near the end of the JUnit tests on the 10.8.2.2 RC, I saw the following diagnostic on
the console. Don't know what test this refers to:
> .........................................
> .........................................
> .........................................
> .......................<assertDirectoryDeleted> attempt 1 left 3 files/dirs behind:
0=/Users/rh161140/derby/dummy/testRun/db_master/wombat/log 1=/Users/rh161140/derby/dummy/testRun/db_master/wombat
2=/Users/rh161140/derby/dummy/testRun/db_master
> ................
> Time: 4,221.94

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message