[
https://issues.jboss.org/browse/ISPN-5855?page=com.atlassian.jira.plugin....
]
Dan Berindei reopened ISPN-5855:
--------------------------------
The test still fails some of the time, because the expiration reaper thread is enabled,
and sometimes it runs in the 10 seconds it takes to check that there are no extra events
for {{expiredUser1}} and {{expiredUser2}}. With this change, the test fails 100% of the
time:
{code}
cfgBuilder.expiration().wakeUpInterval(5, TimeUnit.SECONDS);
{code}
The test should disable the expiration reaper, and maybe also inject a
{{ControlledTimeService}} to control expiration.
RemoteContinuousQueryTest fails consistently
--------------------------------------------
Key: ISPN-5855
URL:
https://issues.jboss.org/browse/ISPN-5855
Project: Infinispan
Issue Type: Bug
Components: Remote Querying
Affects Versions: 8.0.0.Final
Reporter: Adrian Nistor
Assignee: William Burns
Fix For: 8.1.0.Alpha2, 8.0.2.Final
{quote}
java.lang.AssertionError: expected null, but was:<expiredUser2>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotNull(Assert.java:664)
at org.junit.Assert.assertNull(Assert.java:646)
at org.junit.Assert.assertNull(Assert.java:656)
at
org.infinispan.client.hotrod.event.RemoteContinuousQueryTest.expectElementsInQueue(RemoteContinuousQueryTest.java:198)
at
org.infinispan.client.hotrod.event.RemoteContinuousQueryTest.testContinuousQuery(RemoteContinuousQueryTest.java:174)
{quote}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)