[
https://issues.apache.org/jira/browse/DERBY-6610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Myrna van Lunteren updated DERBY-6610:
--------------------------------------
Attachment: DERBY-6610_pols1.diff
attaching a patch which updates a number of tests' policy files with the now
required usederbyinternals permission in the codeclasses area.
Note that store.Derby3980DeadlockTest probably also need this permission, but I
added the permission all over that tests' policy file and I still got an error.
So that one I will look at a bit further, and update later.
Also, with the modification to the lucene policy file that test no longer fails
because of the missing permission, but it does still fail, so that I need to
look into also.
Further, I initially tried to add the policy to the SysinfoTest.policy and run
it with a pre-build of the ibm 1.8 jvm and the test still failed. Even when I
had granted AllPermissions in the policy file the test failed with that jvm. So
I will try to figure out what's wrong with that picture too. But the test
passed with ibm 1.7 and classes after the change.
I'll commit this first patch shortly.
> suites.All cannot be run with classes without failures
> ------------------------------------------------------
>
> Key: DERBY-6610
> URL: https://issues.apache.org/jira/browse/DERBY-6610
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.11.1.1
> Reporter: Myrna van Lunteren
> Assignee: Myrna van Lunteren
> Priority: Minor
> Attachments: DERBY-6610_1.diff, DERBY-6610_pols1.diff,
> tmp-permission.diff
>
>
> suites.All no longer runs cleanly for me when I run with just classes.
> It still runs fine with jars.
> We accepted this behavior at some point, but it is frustrating when you want
> to 'quickly' run tests while still working on some details.
> One of the tests that failed for me was lang.DatabaseClassLoadingTest
> (complaining about one of the databases not found), another was
> lang.LuceneSupportPermsTest.
> If a test cannot run cleanly with classes, it should get skipped (preferably
> both in the test itself and from the _Suite in which it is included).
> I also think some of the network server tests complain if derbynet.jar is not
> found - I cannot off-hand remember if this causes the test to fail.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)