[
https://issues.apache.org/jira/browse/DERBY-6546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13979403#comment-13979403
]
ASF subversion and git services commented on DERBY-6546:
--------------------------------------------------------
Commit 1589624 from [~knutanders] in branch 'code/trunk'
[ https://svn.apache.org/r1589624 ]
DERBY-6546: Database can't be dropped on Windows using the decoration of
LuceneSupportPermsTest
Move database shutdown from the tearDown() method of the test case to
DropDatabaseTestSuite so that no intermediate decorators reboot the
database before it is dropped.
> Database can't be dropped on Windows using the decoration of
> LuceneSupportPermsTest
> -----------------------------------------------------------------------------------
>
> Key: DERBY-6546
> URL: https://issues.apache.org/jira/browse/DERBY-6546
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.11.0.0
> Reporter: Rick Hillegas
> Assignee: Knut Anders Hatlen
> Fix For: 10.11.0.0
>
> Attachments: d6546-1a.diff
>
>
> LuceneSupportPermsTest piles on sql authorization, sql authentication, custom
> policy file, custom locale, and single use decorators. With this combination,
> the database cannot be removed at test termination on Windows machines. The
> problem may be that the authentication hurdle prevents the decorator
> machinery from getting a connection to the database in order to shut it down.
> So files are left open and Windows can't delete the database directory.
--
This message was sent by Atlassian JIRA
(v6.2#6252)