]
Galder Zamarreño commented on ISPN-9194:
----------------------------------------
This seems to be a case of a previous put lingering around and causing an expecting
interceptor to succeed in a later test. Attached TRACE logs with more information, but
it's not yet fully clear what the origin of this put is and how to make sure it gets
consumed before moving on to the next test.
EntityRegionAccessStrategyTest.testRemoveAll failing randomly
-------------------------------------------------------------
Key: ISPN-9194
URL:
https://issues.jboss.org/browse/ISPN-9194
Project: Infinispan
Issue Type: Bug
Components: Hibernate Cache
Affects Versions: 9.3.0.Beta1
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Labels: testsuite_stability
Fix For: 9.3.0.CR1, 9.3.0.Final
Attachments: ispn9194-log-v3.tgz, ispn9194-log-v4.tgz
{code}
[INFO] Running
org.infinispan.test.hibernate.cache.commons.entity.EntityRegionAccessStrategyTest
[ERROR] Tests run: 153, Failures: 1, Errors: 0, Skipped: 17, Time elapsed: 23.447 s
<<< FAILURE! - in
org.infinispan.test.hibernate.cache.commons.entity.EntityRegionAccessStrategyTest
[ERROR] testRemoveAll[JTA, REPL_SYNC,
AccessType[read-only]](org.infinispan.test.hibernate.cache.commons.entity.EntityRegionAccessStrategyTest)
Time elapsed: 0.01 s <<< FAILURE!
java.lang.AssertionError: expected:<VALUE1/1> but was:<null>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:144)
at
org.infinispan.test.hibernate.cache.commons.AbstractRegionAccessStrategyTest.evictOrRemoveAllTest(AbstractRegionAccessStrategyTest.java:490)
at
org.infinispan.test.hibernate.cache.commons.AbstractRegionAccessStrategyTest.testRemoveAll(AbstractRegionAccessStrategyTest.java:433)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at
org.hibernate.testing.junit4.ExtendedFrameworkMethod.invokeExplosively(ExtendedFrameworkMethod.java:45)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
at
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
{code}