Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-11166

SocketTimeoutFailureRetryTest random failures

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

      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)
      

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: