db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Pendleton (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DERBY-6334) Test harness security policy prevents running DatabaseClassLoadingTest twice
Date Sat, 17 Oct 2015 00:27:05 GMT

     [ https://issues.apache.org/jira/browse/DERBY-6334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Bryan Pendleton resolved DERBY-6334.
       Resolution: Fixed
    Fix Version/s:

Hi Kathey,

I agree, the test is running fine for me too, multiple times in a row.

I'm not exactly sure which release Knut Anders's fix was in. I did my
re-testing in trunk, so I marked the issue as resolved in 10.13.

Thanks for following up!

> Test harness security policy prevents running DatabaseClassLoadingTest twice
> ----------------------------------------------------------------------------
>                 Key: DERBY-6334
>                 URL: https://issues.apache.org/jira/browse/DERBY-6334
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions:
>            Reporter: Bryan Pendleton
>            Priority: Minor
>             Fix For:
> If I try to run DatabaseClassLoadingTest twice in a row, the second run 
> immediately fails with a AccessControlException.
> To reproduce the problem:
> 1) cd to a fresh empty directory
> 2) java junit.textui.TestRunner org.apache.derbyTesting.functionTests.tests.lang.DatabaseClassLoadingTest
> (test will pass)
> 3) java junit.textui.TestRunner org.apache.derbyTesting.functionTests.tests.lang.DatabaseClassLoadingTest
> (test will fail with an AccessControlException)
> It's possible that this is due to a problem with the security policy that the
> test harness includes for running the unit tests?
> I'll include the stack trace in a comment to this issue.

This message was sent by Atlassian JIRA

View raw message