[
https://issues.apache.org/jira/browse/OPENJPA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Zowalla resolved OPENJPA-2490.
--------------------------------------
Resolution: Won't Fix
Closing as obsolete during backlog cleanup: Sub-task about intermittent 2.4.0
test runs on Java 8; master uses a Java 17 baseline with a different test
setup, and the old run cannot be acted on. Please reopen if this still happens
with OpenJPA 4.x.
> 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 W. Sutter
> Assignee: Kevin W. Sutter
> Priority: Major
>
> 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
(v10.3.26#10030026)