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 4a2723e..00bc84e 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 @@ -18,6 +18,7 @@ package org.apache.hadoop.hbase.http; import org.apache.hadoop.hbase.testclassification.SmallTests; +import org.junit.Ignore; import org.junit.Test; import org.junit.experimental.categories.Category; @@ -44,13 +45,13 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest { * * @throws Throwable on failure */ - @Test(timeout=60000) + @Ignore ("Hangs on occasion; see HBASE-14430") @Test(timeout=60000) public void testCreatedServerIsNotAlive() throws Throwable { HttpServer server = createTestServer(); assertNotLive(server); } - @Test(timeout=60000) + @Ignore ("Hangs on occasion; see HBASE-14430") @Test(timeout=60000) public void testStopUnstartedServer() throws Throwable { HttpServer server = createTestServer(); stop(server); @@ -61,7 +62,7 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest { * * @throws Throwable on failure */ - @Test(timeout=60000) + @Ignore ("Hangs on occasion; see HBASE-14430") @Test(timeout=60000) public void testStartedServerIsAlive() throws Throwable { HttpServer server = null; server = createTestServer(); @@ -87,7 +88,7 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest { * * @throws Throwable on failure */ - @Test(timeout=60000) + @Ignore ("Hangs on occasion; see HBASE-14430") @Test(timeout=60000) public void testStoppedServerIsNotAlive() throws Throwable { HttpServer server = createAndStartTestServer(); assertAlive(server); @@ -100,7 +101,7 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest { * * @throws Throwable on failure */ - @Test(timeout=60000) + @Ignore ("Hangs on occasion; see HBASE-14430") @Test(timeout=60000) public void testStoppingTwiceServerIsAllowed() throws Throwable { HttpServer server = createAndStartTestServer(); assertAlive(server); @@ -116,7 +117,7 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest { * @throws Throwable * on failure */ - @Test(timeout=60000) + @Ignore ("Hangs on occasion; see HBASE-14430") @Test(timeout=60000) public void testWepAppContextAfterServerStop() throws Throwable { HttpServer server = null; String key = "test.attribute.key"; @@ -130,4 +131,4 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest { stop(server); assertNull("Server context should have cleared", server.getAttribute(key)); } -} +} \ No newline at end of file