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 2011/03/08 13:04:59 UTC
[jira] Updated: (DERBY-5099) PrepareStatementTest depends on
ordering of test cases
[ https://issues.apache.org/jira/browse/DERBY-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen updated DERBY-5099:
--------------------------------------
Attachment: derby-5099-1a.diff
The attached patch merges the two test methods into a single method. This ensures that part one of the regression test for DERBY-614 always runs before part two of the regression test, and part two should therefore always find the table it is looking for.
> PrepareStatementTest depends on ordering of test cases
> ------------------------------------------------------
>
> Key: DERBY-5099
> URL: https://issues.apache.org/jira/browse/DERBY-5099
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.8.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Attachments: derby-5099-1a.diff
>
>
> PrepareStatementTest contains two test cases for DERBY-614: testSplitQRYDTABlock and testServerStatementCleanUp.
> testServerStatementCleanUp uses a table created by testSplitQRYDTABlock, so if testServerStatementCleanUp runs before testSplitQRYDTABlock, the test will fail with the following error message:
> java.sql.SQLSyntaxErrorException: Table/View 'JIRA614' does not exist.
> Seen a couple of times in the nightly tests. For example here: http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.7/testing/testlog/vista-64/1076682-suitesAll_diff.txt
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira