Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-780

Unit tests - test connections are not closed if an error happens in schema setup, leading in unpredictbale behavior in the following tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0
    • 3.0
    • Core Library
    • None

    Description

      Static test DataSource built for the unit tests is not reset if an error occurs building schema. Ideally this shouldn't matter, but since the failing procedure is invoked over and over again for each individual test (as a result of the previous failure), open connections pile up resulting eventually in some DB errors that mask the actual failure cause. Need to handle it more gracefully.

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: