2014-03-21 20:26 GMT+01:00 Christopher Schultz <ch...@christopherschultz.net >:
> I'll give it a try. > > It looks like I have another hang, the first time I (re)tried. Here is > the tail of the console log: > > [junit] 21-Mar-2014 15:21:41.229 INFO [main] > org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler > ["http-nio2-127.0.0.1-auto-4"] > [junit] 21-Mar-2014 15:21:41.230 INFO [main] > org.apache.catalina.core.StandardService.startInternal Starting service > Tomcat > [junit] 21-Mar-2014 15:21:41.230 INFO [main] > org.apache.catalina.core.StandardEngine.startInternal Starting Servlet > Engine: Apache Tomcat/8.0.4 > [junit] HTTP/1.1 200 OK > [junit] Server: Apache-Coyote/1.1 > [junit] Content-Type: text/plain;charset=UTF-8 > [junit] Transfer-Encoding: chunked > [junit] Date: Fri, 21 Mar 2014 19:21:40 GMT > [junit] > [junit] 4 > [junit] TEST > [junit] 21-Mar-2014 15:21:41.239 INFO [main] > org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler > ["http-nio2-127.0.0.1-auto-4-59301"] > [junit] 21-Mar-2014 15:21:41.239 WARNING [main] > org.apache.tomcat.util.net.Nio2Endpoint.startInternal The NIO2 connector > is currently EXPERIMENTAL and should not be used in production > [junit] 4 > [junit] TEST > > > Sending SIGQUIT shows that the main method is again stuck in testBug54928: > > [junit] java.lang.Thread.State: TIMED_WAITING (sleeping) > [junit] at java.lang.Thread.sleep(Native Method) > [junit] at > > org.apache.catalina.connector.TestCoyoteAdapter.testBug54928(TestCoyoteAdapter.java:305) > [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > [junit] at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > > I can post the entire thread dump if that would be helpful. > > For now, I'm going to re-test with nio2 disabled. > > The test should now be improved and it shouldn't hang. Rémy