[ https://issues.apache.org/jira/browse/OPENJPA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13976921#comment-13976921 ]
Romain Manni-Bucau commented on OPENJPA-2490: --------------------------------------------- On 10 runs yesterday I was not able to reproduce it on my laptop. We can try to force order as in https://issues.apache.org/jira/browse/JCS-117 (@FixMethodOrder + method renaming) > Duplicate key errors when testing with Java 8 > --------------------------------------------- > > Key: OPENJPA-2490 > URL: https://issues.apache.org/jira/browse/OPENJPA-2490 > Project: OpenJPA > Issue Type: Sub-task > Components: datacache, jdbc > Affects Versions: 2.4.0 > Environment: Java 8 > java version "1.8.0" > Java(TM) SE Runtime Environment (build 1.8.0-b132) > Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode) > Reporter: Kevin Sutter > Assignee: Kevin Sutter > Fix For: 2.4.0 > > > More failures when running with Java 8. These failures are intermittent. > They seem to depend on whether I am running the full openjpa bucket (mvn test > from the top level directory), or whether I am running just from the > openjpa-persistence-jdbc directory level. > Tests in error: > testConcurrentMap001(org.apache.openjpa.persistence.relations.TestConcurrentMap) > > testDeleteIsDetectedOnCleanRefreshWithLockWithDataCache(org.apache.openjpa.persistence.datacache.TestDataCacheBehavesIdentical) > > testDeleteIsDetectedOnDirtyRefreshWithLockWithDataCache(org.apache.openjpa.persistence.datacache.TestDataCacheBehavesIdentical) > > testCleanRefreshWithNoLockDoesNotHitDatabase(org.apache.openjpa.persistence.datacache.TestDataCacheBehavesIdentical) > > testCleanRefreshWithReadLockDoesNotHitDatabase(org.apache.openjpa.persistence.datacache.TestDataCacheBehavesIdentical) > > testDirtyRefreshWithWriteLockHitsDatabase(org.apache.openjpa.persistence.datacache.TestDataCacheBehavesIdentical) > > testCleanRefreshWithWriteLockDoesNotHitDatabase(org.apache.openjpa.persistence.datacache.TestDataCacheBehavesIdentical) > > testDeleteIsDetectedOnDirtyRefreshWitDataCache(org.apache.openjpa.persistence.datacache.TestDataCacheBehavesIdentical) > If I look at a couple of the surefire reports, I see some duplicate key > exceptions. Again, not sure why the use of Java 8 is affecting this > processing... -- This message was sent by Atlassian JIRA (v6.2#6252)