]
Marek Kopecky updated LOGMGR-280:
---------------------------------
Git Pull Request:
SocketHandlerTests hangs on new JDKs
------------------------------------
Key: LOGMGR-280
URL:
https://issues.redhat.com/browse/LOGMGR-280
Project: JBoss Log Manager
Issue Type: Bug
Reporter: Marek Kopecky
Assignee: Marek Kopecky
Priority: Major
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
{noformat}
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)
{noformat}
* test pass on Open JDK 11.0.8
{noformat}
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)
{noformat}
* test fails on Oracle JDK 11.0.8
{noformat}
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)
{noformat}
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.
{noformat}
org.jboss.logmanager.handlers.SimpleServer$TcpServer.close(SimpleServer.java:127)
org.jboss.logmanager.handlers.SocketHandlerTests.testProtocolChange(SocketHandlerTests.java:129)
{noformat}