Uploaded image for project: 'JDO'
  1. JDO
  2. JDO-372

ConcurrentPersistenceManagersSameClasses - Failed on second run

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JDO 2 rc1
    • JDO 2 final (2.0)
    • tck
    • None

    Description

      Thanks to deleteTearDownClasses / deleteTearDownInstances, most test cases can run on either a clean database or on an existing database. Unfortunately, it seems that org.apache.jdo.tck.ConcurrentPersistenceManagersSameClasses is different. Old objects are not deleted from the 2nd database that this test case uses, so findPoint may return more than one result object, and the first result that is checked might be an old object from a previous run. Therefore, the test case passes the first run and may fail on any additional run on the same database files.

      Attachments

        1. JDO-372.patch
          1 kB
          Craig L Russell
        2. JDO-372.patch
          0.7 kB
          Craig L Russell
        3. JDO-372-mbo.patch
          2 kB
          Michael Bouschen

        Activity

          People

            mbo Michael Bouschen
            kirsh Ilan Kirsh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: