HBASE-12158 TestHttpServerLifecycle.testStartedServerWithRequestLog goes zombie on occasion

This commit is contained in:
stack 2014-10-02 11:03:45 -07:00
parent 0e1e64b821
commit 6f104e3ac6
1 changed files with 0 additions and 21 deletions

View File

@ -71,27 +71,6 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
stop(server);
}
/**
* Test that the server with request logging enabled
*
* @throws Throwable on failure
*/
@Test
public void testStartedServerWithRequestLog() throws Throwable {
HttpRequestLogAppender requestLogAppender = new HttpRequestLogAppender();
requestLogAppender.setName("httprequestlog");
requestLogAppender.setFilename(System.getProperty("test.build.data", "/tmp/")
+ "jetty-name-yyyy_mm_dd.log");
Logger.getLogger(HttpServer.class.getName() + ".test").addAppender(requestLogAppender);
HttpServer server = null;
server = createTestServer();
assertNotLive(server);
server.start();
assertAlive(server);
Logger.getLogger(HttpServer.class.getName() + ".test").removeAppender(requestLogAppender);
stop(server);
}
/**
* Assert that the result of {@link HttpServer#toString()} contains the specific text
* @param server server to examine