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

HotRodIteratorReapTest random failures

XMLWordPrintable

      10:39:16,244 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed: org.infinispan.server.hotrod.HotRodIteratorReapTest.testIterationStateReaperOnClosedConnections
      java.lang.AssertionError: expected:<0> but was:<9>
          at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:252) ~[testng-6.14.3.jar:?]
          at org.infinispan.server.hotrod.HotRodIteratorReapTest.testIterationStateReaperOnClosedConnections(HotRodIteratorReapTest.java:34) ~[test-classes/:?]
      

      I think it fails because Netty closes the socket asynchronously, doesn't wait for the orderly shutdown. Plus the server reacts and reaps the iteration after the close, it doesn't block the client's close while doing that.

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: