Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5099

PrepareStatementTest depends on ordering of test cases

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.8.1.2
    • Fix Version/s: 10.8.1.2
    • Component/s: Test
    • Labels:
      None
    • Bug behavior facts:
      Regression Test Failure

      Description

      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

        Attachments

        1. derby-5099-1a.diff
          5 kB
          Knut Anders Hatlen

          Issue Links

            Activity

              People

              • Assignee:
                knutanders Knut Anders Hatlen
                Reporter:
                knutanders Knut Anders Hatlen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: