HBASE-14430 TestHttpServerLifecycle#testStartedServerIsAlive times out

This commit is contained in:
stack 2015-09-28 21:30:05 -07:00
parent 56bb25e506
commit 642273bc2a
1 changed files with 9 additions and 7 deletions

View File

@ -17,8 +17,10 @@
*/
package org.apache.hadoop.hbase.http;
import org.apache.hadoop.hbase.testclassification.SmallTests;
import org.apache.log4j.Logger;
import org.junit.Test;
import org.junit.Ignore;
import org.apache.hadoop.hbase.testclassification.SmallTests;
import org.junit.experimental.categories.Category;
@Category(SmallTests.class)
@ -44,13 +46,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 +63,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 +89,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 +102,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 +118,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";