public class TestThriftHttpServer extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private Exception |
clientSideException |
org.junit.rules.ExpectedException |
exception |
private Exception |
httpServerException |
private Thread |
httpServerThread |
private static org.slf4j.Logger |
LOG |
private int |
port |
private static boolean |
tableCreated |
private static HBaseTestingUtility |
TEST_UTIL |
private org.apache.hadoop.hbase.thrift.ThriftServer |
thriftServer |
Constructor and Description |
---|
TestThriftHttpServer() |
Modifier and Type | Method and Description |
---|---|
private void |
runThriftServer(int customHeaderSize) |
static void |
setUpBeforeClass() |
private void |
startHttpServerThread(String[] args) |
private void |
stopHttpServerThread() |
private void |
talkToThriftServer(int customHeaderSize) |
static void |
tearDownAfterClass() |
void |
testExceptionThrownWhenMisConfigured() |
void |
testRunThriftServer() |
void |
testRunThriftServerWithHeaderBufferLength() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private Thread httpServerThread
private volatile Exception httpServerException
private Exception clientSideException
private org.apache.hadoop.hbase.thrift.ThriftServer thriftServer
private int port
public org.junit.rules.ExpectedException exception
private static volatile boolean tableCreated
public TestThriftHttpServer()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testExceptionThrownWhenMisConfigured() throws Exception
Exception
private void startHttpServerThread(String[] args)
public void testRunThriftServerWithHeaderBufferLength() throws Exception
Exception
public void testRunThriftServer() throws Exception
Exception
private void runThriftServer(int customHeaderSize) throws Exception
Exception
private void talkToThriftServer(int customHeaderSize) throws Exception
Exception
private void stopHttpServerThread() throws Exception
Exception
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.