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

                 Key: CAY-780
                 URL: https://issues.apache.org/cayenne/browse/CAY-780
             Project: Cayenne
          Issue Type: Bug
          Components: Cayenne Core Library
    Affects Versions: 3.0
            Reporter: Andrus Adamchik
         Assigned To: Andrus Adamchik
            Priority: Minor
             Fix For: 3.0


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to