]
Dan Berindei updated ISPN-10369:
--------------------------------
Status: Open (was: New)
InvalidatedNearCacheTest random failures
----------------------------------------
Key: ISPN-10369
URL:
https://issues.redhat.com/browse/ISPN-10369
Project: Infinispan
Issue Type: Bug
Components: Test Suite
Affects Versions: 10.0.0.Beta3
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Major
Labels: testsuite_stability
{{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/