]
Will Burns updated ISPN-11244:
------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
HotRodIteratorReapTest random failures
--------------------------------------
Key: ISPN-11244
URL:
https://issues.redhat.com/browse/ISPN-11244
Project: Infinispan
Issue Type: Bug
Components: Server, Test Suite
Affects Versions: 10.1.1.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Major
Labels: testsuite_stability
Fix For: 11.0.0.Alpha1
{noformat}
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/:?]
{noformat}
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.