[infinispan-issues] [JBoss JIRA] (ISPN-6445) PreloadingWithWriteBehindTest.testIfCanLoadKeysConcurrently random failures

Dan Berindei (JIRA) issues at jboss.org
Fri Apr 1 10:41:00 EDT 2016


     [ https://issues.jboss.org/browse/ISPN-6445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei reopened ISPN-6445:
--------------------------------


I changed the test to use an explicit executor, but forgot to remove the queue.

That allowed the loader to submit all the entries to the executor before the test's task called {{TaskContext.stop()}}.

> PreloadingWithWriteBehindTest.testIfCanLoadKeysConcurrently random failures
> ---------------------------------------------------------------------------
>
>                 Key: ISPN-6445
>                 URL: https://issues.jboss.org/browse/ISPN-6445
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Test Suite - Core
>    Affects Versions: 8.2.0.Final
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>            Priority: Critical
>              Labels: testsuite_stability
>             Fix For: 9.0.0.Alpha1, 9.0.0.Final
>
>
> The test assumes that the {{AdvancedAsyncCacheLoader.size()}} is accurate, but the implementation actually ignores the in-memory changes and just delegates to the real loader's {{size()}}.
> Also, the method doesn't really belong in this test, because it doesn't use preloading.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list