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

PrepareStatementTest depends on ordering of test cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.8.1.2
    • 10.8.1.2
    • Test
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: