Uploaded image for project: 'JBoss Log Manager'
  1. JBoss Log Manager
  2. LOGMGR-280

SocketHandlerTests hangs on new JDKs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.1.19.Final, 3.0.0.Alpha1
    • None
    • None
    • None

    Description

      SocketHandlerTests hangs on new JDKs

      Affected test methods:

      • SocketHandlerTests#testProtocolChange
      • SocketHandlerTests#testTlsConfig

      Test fails just on some JDK. Examples:

      • test pass on Oracle JDK 11.0.6
        java version "11.0.6" 2020-01-14 LTS
        Java(TM) SE Runtime Environment 18.9 (build 11.0.6+8-LTS)
        Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.6+8-LTS, mixed mode)
        
      • test pass on Open JDK 11.0.8
        openjdk version "11.0.8" 2020-07-14
        OpenJDK Runtime Environment 18.9 (build 11.0.8+10)
        OpenJDK 64-Bit Server VM 18.9 (build 11.0.8+10, mixed mode, sharing)
        
      • test fails on Oracle JDK 11.0.8
        java version "11.0.8" 2020-07-14 LTS
        Java(TM) SE Runtime Environment 18.9 (build 11.0.8+10-LTS)
        Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.8+10-LTS, mixed mode)
        

      This issue is valid at least for branches 2.1 (2.1.17.Final) and master (and probably for 2.2 and 2.3 as well)

      Test hangs in "SimpleServer$TcpServer.close" during "socket.close();" call.

      org.jboss.logmanager.handlers.SimpleServer$TcpServer.close(SimpleServer.java:127)
      org.jboss.logmanager.handlers.SocketHandlerTests.testProtocolChange(SocketHandlerTests.java:129)
      

      Attachments

        Issue Links

          Activity

            People

              mkopecky@redhat.com Marek Kopecky
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: