db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-6334) Test harness security policy prevents running DatabaseClassLoadingTest twice
Date Wed, 18 Sep 2013 20:35:57 GMT

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

Kathey Marsden updated DERBY-6334:
----------------------------------

    Issue & fix info: Newcomer,Repro attached  (was: Repro attached)
    
> 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: 10.11.0.0
>            Reporter: Bryan Pendleton
>            Priority: Minor
>
> 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 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

Mime
View raw message