Kevin Sutter created OPENJPA-2490:
-------------------------------------
Summary: Duplicate 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
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)