[
https://issues.apache.org/jira/browse/DERBY-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496077
]
Knut Anders Hatlen commented on DERBY-2641:
-------------------------------------------
> Next question then would be: is the test still testing what it's trying test?
No, the first part of the test (testStalePlansOnSmallTable() in the JUnit test)
does not change the plans. The second part (testStalePlansOnLargeTable()) does
however change plans exactly as described in the comments, so I think we are
covered there. I don't have any good ideas for how to make the small table test
change plans (other than increasing the size of the table, which makes the test
more or less identical to the large table test). Do you have any ideas? We
could of course leave the test as it is and explain in the comments that the
first test case no longer tests stale plans.
> Convert lang/staleplans.sql to JUnit
> ------------------------------------
>
> Key: DERBY-2641
> URL: https://issues.apache.org/jira/browse/DERBY-2641
> Project: Derby
> Issue Type: Improvement
> Components: Test
> Affects Versions: 10.3.0.0
> Reporter: Knut Anders Hatlen
> Assigned To: Knut Anders Hatlen
> Priority: Minor
> Attachments: derby-2641-1.diff, derby-2641-1.stat
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.