JDO
  1. JDO
  2. JDO-372

ConcurrentPersistenceManagersSameClasses - Failed on second run

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JDO 2 rc1
    • Fix Version/s: JDO 2 final (2.0)
    • Component/s: tck
    • Labels:
      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.

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

        Activity

        Ilan Kirsh created issue -
        Craig L Russell made changes -
        Field Original Value New Value
        Attachment JDO-372.patch [ 12325733 ]
        Craig L Russell made changes -
        Attachment JDO-372.patch [ 12325735 ]
        Michael Bouschen made changes -
        Attachment JDO-372-mbo.patch [ 12325736 ]
        Michael Bouschen made changes -
        Affects Version/s JDO 2 rc1 [ 12310771 ]
        Assignee Michael Bouschen [ mbo ]
        Component/s tck20 [ 11652 ]
        Michael Bouschen made changes -
        Fix Version/s JDO 2 final [ 12310830 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Andy Jefferson made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Michael Bouschen
            Reporter:
            Ilan Kirsh
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development