Package org.apache.hadoop.hbase.ipc
Class TestTLSHandshadeFailure
java.lang.Object
org.apache.hadoop.hbase.ipc.TestTLSHandshadeFailure
A simple UT to make sure that we do not leak the SslExceptions to netty's TailContext, where it
will generate a confusing WARN message.
See HBASE-27782 for more details.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private org.apache.hadoop.hbase.ipc.NettyRpcClient
private final org.apache.hadoop.conf.Configuration
private static final org.slf4j.Logger
private org.apache.logging.log4j.core.Appender
private final Random
private ServerSocket
private Thread
-
Constructor Summary
-
Method Summary
-
Field Details
-
CLASS_RULE
-
LOG
-
conf
-
rand
-
server
-
serverThread
-
client
-
mockAppender
-
-
Constructor Details
-
TestTLSHandshadeFailure
public TestTLSHandshadeFailure()
-
-
Method Details
-
serve
-
setUp
- Throws:
IOException
-
tearDown
- Throws:
IOException
-
test
- Throws:
Exception
-