3df1e60bb3
Refactor Thrift tests so resilient when launch of ThriftServer runs into BindException. hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestBindExceptionHandling.java hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftHttpServer.java hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThrift2HttpServer.java hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThrift2ServerCmdLine.java Refactor to use new ThriftServerRunner and ThriftServerSupplier hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java Log list of existing tables on assert. hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftSpnegoHttpFallbackServer.java hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftSpnegoHttpServer.java Add Ignore for testRunThriftServerWithHeaderBufferLength. Its tested in superclass. No need to test again here. Besides, its destructive test leaving behind dregs that mess up the retry. hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/ThriftServerRunner.java Utility. Thread to host ThriftServer and exception if one after run completes. |
||
---|---|---|
.. | ||
src | ||
pom.xml |