[infinispan-issues] [JBoss JIRA] (ISPN-5718) Random failures in ClusterListenerReplTxInitialStateTest.testAllExpired
Dan Berindei (JIRA)
issues at jboss.org
Tue Sep 1 09:53:05 EDT 2015
Dan Berindei created ISPN-5718:
----------------------------------
Summary: Random failures in ClusterListenerReplTxInitialStateTest.testAllExpired
Key: ISPN-5718
URL: https://issues.jboss.org/browse/ISPN-5718
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 8.0.0.Final
Reporter: Dan Berindei
Assignee: William Burns
Priority: Blocker
Fix For: 8.1.0.Alpha1
It appears the expiration listener is invoked multiple times for the same key, and the first one has a {{null}} value:
{noformat}
10:39:38,844 DEBUG (remote-thread-NodeA-p15343-t6:[]) [ClusterListenerDistTxInitialStateTest] Adding new cluster event EventImpl{type=CACHE_ENTRY_EXPIRED, pre=false, cache=Cache 'cluster-listener'@NodeA-18241, key=MagicKey#null{1297a9e5 at NodeA-18241/8}, value=null, oldValue=null, transaction=null, originLocal=true, transactionSuccessful=false, entries=null, created=false}
10:39:38,844 DEBUG (async-thread-NodeA-p15346-t2:[]) [ClusterListenerDistTxInitialStateTest] Adding new cluster event EventImpl{type=CACHE_ENTRY_EXPIRED, pre=false, cache=Cache 'cluster-listener'@NodeA-18241, key=MagicKey#null{1297a9e5 at NodeA-18241/8}, value=MagicKey#null{1297a9e5 at NodeA-18241/8}-expiring, oldValue=null, transaction=null, originLocal=true, transactionSuccessful=false, entries=null, created=false}
10:39:38,844 DEBUG (async-thread-NodeA-p15346-t3:[]) [ClusterListenerDistTxInitialStateTest] Adding new cluster event EventImpl{type=CACHE_ENTRY_EXPIRED, pre=false, cache=Cache 'cluster-listener'@NodeA-18241, key=MagicKey#null{1297a9e5 at NodeA-18241/8}, value=null, oldValue=null, transaction=null, originLocal=true, transactionSuccessful=false, entries=null, created=false}
10:39:38,844 DEBUG (async-thread-NodeA-p15346-t4:[]) [ClusterListenerDistTxInitialStateTest] Adding new cluster event EventImpl{type=CACHE_ENTRY_EXPIRED, pre=false, cache=Cache 'cluster-listener'@NodeA-18241, key=MagicKey#null{1297a9e5 at NodeA-18241/8}, value=null, oldValue=null, transaction=null, originLocal=true, transactionSuccessful=false, entries=null, created=false}
10:39:39,343 ERROR (testng-ClusterListenerDistTxInitialStateTest:[]) [UnitTestTestNGListener] Test testAllExpire(org.infinispan.notifications.cachelistener.cluster.ClusterListenerDistTxInitialStateTest) failed.
java.lang.AssertionError: expected:<MagicKey#null{1297a9e5 at NodeA-18241/8}-expiring> but was:<null>
at org.testng.AssertJUnit.fail(AssertJUnit.java:59) ~[testng-6.8.8.jar:?]
at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364) ~[testng-6.8.8.jar:?]
at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80) ~[testng-6.8.8.jar:?]
at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:88) ~[testng-6.8.8.jar:?]
at org.infinispan.notifications.cachelistener.cluster.AbstractClusterListenerTest.testAllExpire(AbstractClusterListenerTest.java:662) ~[test-classes/:?]
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the infinispan-issues
mailing list