You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2012/04/24 16:37:35 UTC
[jira] [Created] (DERBY-5719) UniqueConstraintMultiThreadedTest
doesn't call super.tearDown()
Knut Anders Hatlen created DERBY-5719:
-----------------------------------------
Summary: UniqueConstraintMultiThreadedTest doesn't call super.tearDown()
Key: DERBY-5719
URL: https://issues.apache.org/jira/browse/DERBY-5719
Project: Derby
Issue Type: Bug
Components: Test
Affects Versions: 10.9.0.0
Reporter: Knut Anders Hatlen
Assignee: Knut Anders Hatlen
UniqueConstraintMultiThreadedTest has a tearDown() method that doesn't call super.tearDown().
It also keeps a DataSource in an instance variable and doesn't appear to null out the reference to it on completion.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5719) UniqueConstraintMultiThreadedTest
doesn't call super.tearDown()
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen updated DERBY-5719:
--------------------------------------
Issue & fix info: Patch Available
> UniqueConstraintMultiThreadedTest doesn't call super.tearDown()
> ---------------------------------------------------------------
>
> Key: DERBY-5719
> URL: https://issues.apache.org/jira/browse/DERBY-5719
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.9.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Attachments: d5719-1a.diff
>
>
> UniqueConstraintMultiThreadedTest has a tearDown() method that doesn't call super.tearDown().
> It also keeps a DataSource in an instance variable and doesn't appear to null out the reference to it on completion.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5719) UniqueConstraintMultiThreadedTest
doesn't call super.tearDown()
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen updated DERBY-5719:
--------------------------------------
Attachment: d5719-1a.diff
Attaching a patch that makes the following changes to the test:
- Call super.tearDown() from the override
- Use framework helper methods to simplify setUp() and tearDown()
- Eliminate the shared DataSource instance (use openDefaultConnection() instead)
- Remove unused imports
- Fix some typos in javadoc comments
> UniqueConstraintMultiThreadedTest doesn't call super.tearDown()
> ---------------------------------------------------------------
>
> Key: DERBY-5719
> URL: https://issues.apache.org/jira/browse/DERBY-5719
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.9.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Attachments: d5719-1a.diff
>
>
> UniqueConstraintMultiThreadedTest has a tearDown() method that doesn't call super.tearDown().
> It also keeps a DataSource in an instance variable and doesn't appear to null out the reference to it on completion.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (DERBY-5719) UniqueConstraintMultiThreadedTest
doesn't call super.tearDown()
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen closed DERBY-5719.
-------------------------------------
Resolution: Fixed
Fix Version/s: 10.9.0.0
Issue & fix info: (was: Patch Available)
Committed revision 1330203.
> UniqueConstraintMultiThreadedTest doesn't call super.tearDown()
> ---------------------------------------------------------------
>
> Key: DERBY-5719
> URL: https://issues.apache.org/jira/browse/DERBY-5719
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.9.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Fix For: 10.9.0.0
>
> Attachments: d5719-1a.diff
>
>
> UniqueConstraintMultiThreadedTest has a tearDown() method that doesn't call super.tearDown().
> It also keeps a DataSource in an instance variable and doesn't appear to null out the reference to it on completion.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira