db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-5099) PrepareStatementTest depends on ordering of test cases
Date Tue, 08 Mar 2011 12:04:59 GMT

     [ 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:
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>         Attachments: derby-5099-1a.diff
> PrepareStatementTest contains two test cases for DERBY-614: testSplitQRYDTABlock and
> 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

View raw message