openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sutter (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-2490) Duplicate key errors when testing with Java 8
Date Tue, 22 Apr 2014 15:08:15 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13976891#comment-13976891
] 

Kevin Sutter commented on OPENJPA-2490:
---------------------------------------

I continue to get these "random" errors with Java 8 testing.  It may be due to ordering of
testcases.  It may be related to timing (I seem to have better "luck" when I run on a slower
machine).  Most of the time, the errors fall into the camp of the Cache tests as detailed
in the Description.  But, once in a while, I get some other random errors from other tests.

> 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)

Mime
View raw message