hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject git commit: HBASE-12158 TestHttpServerLifecycle.testStartedServerWithRequestLog goes zombie on occasion
Date Thu, 02 Oct 2014 18:04:13 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 483d97cb6 -> 0be854d45


HBASE-12158 TestHttpServerLifecycle.testStartedServerWithRequestLog goes zombie on occasion


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/0be854d4
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0be854d4
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0be854d4

Branch: refs/heads/branch-1
Commit: 0be854d4561380732353da5f84dcc25449ee9606
Parents: 483d97c
Author: stack <stack@apache.org>
Authored: Thu Oct 2 11:03:45 2014 -0700
Committer: stack <stack@apache.org>
Committed: Thu Oct 2 11:04:07 2014 -0700

----------------------------------------------------------------------
 .../hbase/http/TestHttpServerLifecycle.java     | 21 --------------------
 1 file changed, 21 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/0be854d4/hbase-server/src/test/java/org/apache/hadoop/hbase/http/TestHttpServerLifecycle.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/http/TestHttpServerLifecycle.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/http/TestHttpServerLifecycle.java
index aad94eb..feb3ef6 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/http/TestHttpServerLifecycle.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/http/TestHttpServerLifecycle.java
@@ -73,27 +73,6 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
   }
 
   /**
-   * 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
    * @param text text to search for


Mime
View raw message