openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fay Wang (JIRA)" <>
Subject [jira] Commented: (OPENJPA-1726) Clean up OpenJPA test case failures for PostgreSQL
Date Wed, 28 Jul 2010 23:24:17 GMT


Fay Wang commented on OPENJPA-1726:

	The failing test cases running on Postgres are now in TestMixedLockManagerFindPermutation.
This test case spawns three threads and the pass/no pass of the test cases depends on the

	One example is TestMixedLockManagerFindPermutation.testFindReadPessimisticRead when the second
child thread is doing rollback: 
            LockModeType.READ, Act.CommitTx, 1, null,
            LockModeType.PESSIMISTIC_READ, Act.RollbackTx, 1, null);

	In the failing trace file, you can easily see that the find by the second child [Thread-8]
is before the jdbc commit of the update statement by the first child [Thread-7], even though
the commit action is issued by Thread-7 before the find by Thread-8.

> Clean up OpenJPA test case failures for PostgreSQL
> --------------------------------------------------
>                 Key: OPENJPA-1726
>                 URL:
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>            Reporter: Fay Wang
>            Assignee: Fay Wang
>            Priority: Minor
>             Fix For: 2.1.0
>         Attachments: OPENJPA-1726-2.patch, OPENJPA-1726.patch

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

View raw message