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

Bryan Pendleton commented on DERBY-6315:
----------------------------------------

Hi Ahsan,

The directory "system\wombat" is where the test harness creates a test database 
for the tests to use.

You should be able to delete that directory and the tests will create a brand 
new fresh test database the next time they are run.

It is possible that the crash that you printed in your stack trace represents a 
bug in the test harness. The tests are supposed to run with a security policy 
which allows Derby to read and write all the files in the database directory 
("system\wombat"), but for some reason the security manager was refusing to let 
the Derby recovery code read the file:

java.security.AccessControlException: access denied ("java.io.FilePermission" 
"D:\Apache\Workspace\derby\system\wombat\jar\3d3b0068-0140-d54f-a291-0000589559b2.jar.G1377968313576"
 "read")

I will have to do some research on what is going on here.

For the time being, please try deleting the directory

    D:\Apache\Workspace\derby\system\wombat

and that should let you resume running the test program from Eclipse.

                
> Improve test coverage of org.apache.derby.impl.io.InputStreamFile
> -----------------------------------------------------------------
>
>                 Key: DERBY-6315
>                 URL: https://issues.apache.org/jira/browse/DERBY-6315
>             Project: Derby
>          Issue Type: Sub-task
>          Components: JDBC
>            Reporter: ahsan shamsudeen
>            Assignee: ahsan shamsudeen
>            Priority: Minor
>              Labels: gsoc2013
>
> According to code coverage analysis, org.apache.derby.impl.io.InputStreamFile 
> has a poor code coverage.
> This task is to investigate this class and add regression test that exercise 
> the code, as appropriate. The current coverage report of the class can be 
> found at  http://dbtg.foundry.sun.com/derby/test/coverage/_files/9a.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to