public class TestThriftHttpServer extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.ExpectedException |
exception |
private static org.slf4j.Logger |
LOG |
protected static boolean |
tableCreated |
protected static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestThriftHttpServer() |
Modifier and Type | Method and Description |
---|---|
private void |
checkHttpMethods(String url) |
protected Supplier<org.apache.hadoop.hbase.thrift.ThriftServer> |
getThriftServerSupplier() |
(package private) void |
runThriftServer(int customHeaderSize) |
static void |
setUpBeforeClass() |
protected void |
talkToThriftServer(String url,
int customHeaderSize) |
static void |
tearDownAfterClass() |
void |
testExceptionThrownWhenMisConfigured() |
void |
testRunThriftServer() |
void |
testRunThriftServerWithHeaderBufferLength() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
protected static final HBaseTestingUtility TEST_UTIL
public org.junit.rules.ExpectedException exception
protected static volatile boolean tableCreated
public TestThriftHttpServer()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testExceptionThrownWhenMisConfigured() throws IOException
IOException
public void testRunThriftServerWithHeaderBufferLength() throws Exception
Exception
protected Supplier<org.apache.hadoop.hbase.thrift.ThriftServer> getThriftServerSupplier()
public void testRunThriftServer() throws Exception
Exception
void runThriftServer(int customHeaderSize) throws Exception
Exception
private void checkHttpMethods(String url) throws Exception
Exception
protected void talkToThriftServer(String url, int customHeaderSize) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.