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:17:35 UTC
[jira] [Created] (DERBY-5716) TimestampArithTest keeps references
to statements after completion
Knut Anders Hatlen created DERBY-5716:
-----------------------------------------
Summary: TimestampArithTest keeps references to statements after completion
Key: DERBY-5716
URL: https://issues.apache.org/jira/browse/DERBY-5716
Project: Derby
Issue Type: Bug
Components: Test
Affects Versions: 10.9.0.0
Reporter: Knut Anders Hatlen
Assignee: Knut Anders Hatlen
TimestampArithTest keeps references to statements in static fields, but never closes them or clears the fields.
--
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-5716) TimestampArithTest keeps references to
statements after completion
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen closed DERBY-5716.
-------------------------------------
Resolution: Fixed
Fix Version/s: 10.9.0.0
Issue & fix info: (was: Patch Available)
Committed revision 1330207.
> TimestampArithTest keeps references to statements after completion
> ------------------------------------------------------------------
>
> Key: DERBY-5716
> URL: https://issues.apache.org/jira/browse/DERBY-5716
> 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: d5716-1a.diff
>
>
> TimestampArithTest keeps references to statements in static fields, but never closes them or clears the fields.
--
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-5716) TimestampArithTest keeps references
to statements after completion
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen updated DERBY-5716:
--------------------------------------
Issue & fix info: Patch Available
> TimestampArithTest keeps references to statements after completion
> ------------------------------------------------------------------
>
> Key: DERBY-5716
> URL: https://issues.apache.org/jira/browse/DERBY-5716
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.9.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Attachments: d5716-1a.diff
>
>
> TimestampArithTest keeps references to statements in static fields, but never closes them or clears the fields.
--
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-5716) TimestampArithTest keeps references
to statements after completion
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen updated DERBY-5716:
--------------------------------------
Attachment: d5716-1a.diff
Attaching a patch that makes two changes to the test:
1) It adds a tearDown() method that closes the statements and clears the references to them.
2) This is a data-driven test. However, the test inputs are stored in non-static variables, so they are duplicated in memory as many times as there are test cases. The patch makes the variables that hold the test input static to reduce the memory footprint of the test.
> TimestampArithTest keeps references to statements after completion
> ------------------------------------------------------------------
>
> Key: DERBY-5716
> URL: https://issues.apache.org/jira/browse/DERBY-5716
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.9.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Attachments: d5716-1a.diff
>
>
> TimestampArithTest keeps references to statements in static fields, but never closes them or clears the fields.
--
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