Dan Berindei created ISPN-11166:
-----------------------------------
Summary: SocketTimeoutFailureRetryTest random failures
Key: ISPN-11166
URL:
https://issues.redhat.com/browse/ISPN-11166
Project: Infinispan
Issue Type: Bug
Components: Server, Test Suite
Affects Versions: 10.1.0.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 10.1.1.Final
Replicated non-tx caches without stores have an optimization for get operations to bypass
the interceptor chain and query the data container directly. The optimization was added
with the non-blocking listener changes, in order to compensate their overhead, but it only
covered {{get()}} and {{getAsync()}}, while the HotRod server uses
{{getCacheEntryAsync()}}.
The ISPN-11020 fix extended the replicated get optimization to {{getCacheEntryAsync()}},
so now HotRod replicated reads bypass the interceptor chain, including the
{{DelayingInterceptor}} added by {{SocketTimeoutFailureRetryTest}}.
{noformat}
java.lang.AssertionError: expected:<1> but was:<0>
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:170)
at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:177)
at
org.infinispan.client.hotrod.retry.SocketTimeoutFailureRetryTest.testRetrySocketTimeout(SocketTimeoutFailureRetryTest.java:68)
{noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)