[infinispan-issues] [JBoss JIRA] (ISPN-11193) SocketTimeoutFailureRetryTest random failures

Diego Lovison (Jira) issues at jboss.org
Mon Jan 20 07:19:13 EST 2020


Diego Lovison created ISPN-11193:
------------------------------------

             Summary: SocketTimeoutFailureRetryTest random failures
                 Key: ISPN-11193
                 URL: https://issues.redhat.com/browse/ISPN-11193
             Project: Infinispan
          Issue Type: Bug
          Components: Server, Test Suite
    Affects Versions: 10.1.0.Final
            Reporter: Diego Lovison
            Assignee: Dan Berindei
             Fix For: 11.0.0.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)


More information about the infinispan-issues mailing list