[infinispan-issues] [JBoss JIRA] (ISPN-4889) SimpleLuceneTest.testCacheReuse random failures

Gustavo Fernandes (JIRA) issues at jboss.org
Thu Dec 4 11:27:39 EST 2014


    [ https://issues.jboss.org/browse/ISPN-4889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025245#comment-13025245 ] 

Gustavo Fernandes edited comment on ISPN-4889 at 12/4/14 11:27 AM:
-------------------------------------------------------------------

Was able to reproduce with:

{code}
loop 100 taskset -c 0,1 mvn test  | tee log.txt
{code}

where loop is defined as 

{code}
function loop { seq 1 $1| { shift; xargs -i -- "$@"; } }
{code}

The issue seems to be the same as to other similar randomly failing tests in the lucene directory suite. For some reason, sometimes, there's a key in the Chunkcache with no value, so doing:
{code}
 Object value = cache.get(existingChunkKey);
{code}

returns null, being the key obtained from {{cache.keySet()}}


was (Author: gustavonalle):
Was able to reproduce with:

{code}
loop 100 taskset -c 0,1 mvn test  | tee log.txt
{code}

where loop is defined as 

{code}
function loop { seq 1 $1| { shift; xargs -i -- "$@"; } }
{code}

The issue seems to be the same as to other similar randomly failing tests in the lucene directory suite. For some reason, sometimes, there's a key in the Chunkcache with no value, so doing:
{code}
 Object value = cache.get(existingChunkKey);
{code}

returns null.

> SimpleLuceneTest.testCacheReuse random failures
> -----------------------------------------------
>
>                 Key: ISPN-4889
>                 URL: https://issues.jboss.org/browse/ISPN-4889
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Test Suite - Query
>    Affects Versions: 7.0.0.CR2
>            Reporter: Gustavo Fernandes
>            Assignee: Gustavo Fernandes
>
> http://ci.infinispan.org/project.html?projectId=Infinispan&buildTypeId=&tab=testDetails&testNameId=-7073570082319202520&order=START_DATE_DESC&branch_Infinispan=__all_branches__&itemsCount=20



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the infinispan-issues mailing list