]
Tristan Tarrant updated ISPN-10369:
-----------------------------------
Fix Version/s: 10.0.0.Beta5
(was: 10.0.0.Beta4)
InvalidatedNearCacheTest random failures
----------------------------------------
Key: ISPN-10369
URL:
https://issues.jboss.org/browse/ISPN-10369
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Server
Affects Versions: 10.0.0.Beta3
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Major
Labels: testsuite_stability
Fix For: 10.0.0.Beta5
{{InvalidatedNearCacheTest.testGetNearCacheAfterConnect}} has 2 clients, performing some
operations and waiting for the corresponding near cache events on client 1 and then
resetting the events on client 2.
This is not correct, because client 2 may not have received the events yet, in which case
{{resetEvents()}} doesn't do anything.
{noformat}
18:48:47,813 INFO (testng-InvalidatedNearCacheTest:[]) [TestSuiteProgress] Test
succeeded:
org.infinispan.client.hotrod.near.InvalidatedNearCacheTest.testGetNearCacheAfterConnect
18:48:47,814 INFO (testng-InvalidatedNearCacheTest:[]) [TestSuiteProgress] Test
starting:
org.infinispan.client.hotrod.near.InvalidatedNearCacheTest.testGetUpdatesNearCache
18:48:47,821 ERROR (testng-InvalidatedNearCacheTest:[]) [TestSuiteProgress] Test failed:
org.infinispan.client.hotrod.near.InvalidatedNearCacheTest.testGetUpdatesNearCache
18:48:47,821 ERROR (testng-InvalidatedNearCacheTest:[]) [TestSuiteProgress] Test failed:
org.infinispan.client.hotrod.near.InvalidatedNearCacheTest.testGetUpdatesNearCache
java.lang.AssertionError:
[org.infinispan.client.hotrod.near.MockNearCacheService$MockRemoveEvent@514f3f0c,
org.infinispan.client.hotrod.near.MockNearCacheService$MockRemoveEvent@76bf7455]
expected:<0> but was:<2>
at org.testng.AssertJUnit.fail(AssertJUnit.java:59) ~[testng-6.14.3.jar:?]
at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364) ~[testng-6.14.3.jar:?]
at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80) ~[testng-6.14.3.jar:?]
at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:245) ~[testng-6.14.3.jar:?]
at
org.infinispan.client.hotrod.near.AssertsNearCache.expectNoNearEvents(AssertsNearCache.java:123)
~[test-classes/:?]
at
org.infinispan.client.hotrod.near.InvalidatedNearCacheTest.testGetUpdatesNearCache(InvalidatedNearCacheTest.java:153)
~[test-classes/:?]
{noformat}
https://ci.infinispan.org/job/Infinispan/job/master/1240/