-
Bug
-
Resolution: Done
-
Major
-
9.4.18.Final, 10.1.3.Final, 11.0.0.Alpha2
-
DataGrid Sprint #41, DataGrid Sprint #42
17:41:53,346 WARN (jgroups-4,Test-NodeD:[]) [StateConsumerImpl] ISPN000284: Problem encountered while installing cluster listener java.lang.NullPointerException: null at org.infinispan.notifications.impl.AbstractListenerImpl.canApply(AbstractListenerImpl.java:307) ~[classes/:?] at org.infinispan.notifications.impl.AbstractListenerImpl.validateAndAddFilterListenerInvocations(AbstractListenerImpl.java:271) ~[classes/:?] at org.infinispan.notifications.cachelistener.CacheNotifierImpl.addFilteredListenerInternal(CacheNotifierImpl.java:1330) ~[classes/:?] at org.infinispan.notifications.cachelistener.CacheNotifierImpl.addFilteredListenerAsync(CacheNotifierImpl.java:1293) ~[classes/:?] at org.infinispan.notifications.DataConversionAwareListenable.addFilteredListener(DataConversionAwareListenable.java:26) ~[classes/:?] at org.infinispan.notifications.cachelistener.cluster.ClusterListenerReplicateCallable.accept(ClusterListenerReplicateCallable.java:117) ~[classes/:?] at org.infinispan.statetransfer.StateConsumerImpl.lambda$fetchClusterListeners$6(StateConsumerImpl.java:526) ~[classes/:?]
AbstractCQMultipleCachesTest#testCQCacheLeavesAndJoins was supposed to test that continuous query keeps working after another node joins, but before the ISPN-11435 fix it only started a new cache manager, without starting the indexed cache. Now that all defined caches are started automatically, the test fails if the joiner becomes primary owner of key 5 (the only key that is included in the query results and is updated after the join):
Test failed: org.infinispan.query.continuous.ContinuousQueryMultipleCachesDistTest.testCQCacheLeavesAndJoins java.lang.AssertionError: expected:<6> but was:<5> at org.testng.AssertJUnit.fail(AssertJUnit.java:59) at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364) at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80) at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:245) at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:252) at org.infinispan.query.continuous.AbstractCQMultipleCachesTest.testCQCacheLeavesAndJoins(AbstractCQMultipleCachesTest.java:161)
- is caused by
-
ISPN-7283 Make remote event supporting cluster listener more fine grained
- Closed