HBASE-14430 TestHttpServerLifecycle#testStartedServerIsAlive times out
This commit is contained in:
parent
f6be2f9bf3
commit
6ad6273dda
|
@ -20,6 +20,7 @@ package org.apache.hadoop.hbase.http;
|
||||||
import org.apache.hadoop.hbase.testclassification.MiscTests;
|
import org.apache.hadoop.hbase.testclassification.MiscTests;
|
||||||
import org.apache.hadoop.hbase.testclassification.SmallTests;
|
import org.apache.hadoop.hbase.testclassification.SmallTests;
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.experimental.categories.Category;
|
import org.junit.experimental.categories.Category;
|
||||||
|
|
||||||
|
@ -46,13 +47,13 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
|
||||||
*
|
*
|
||||||
* @throws Throwable on failure
|
* @throws Throwable on failure
|
||||||
*/
|
*/
|
||||||
@Test(timeout=60000)
|
@Ignore ("Hangs on occasion; see HBASE-14430") @Test(timeout=60000)
|
||||||
public void testCreatedServerIsNotAlive() throws Throwable {
|
public void testCreatedServerIsNotAlive() throws Throwable {
|
||||||
HttpServer server = createTestServer();
|
HttpServer server = createTestServer();
|
||||||
assertNotLive(server);
|
assertNotLive(server);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(timeout=60000)
|
@Ignore ("Hangs on occasion; see HBASE-14430") @Test(timeout=60000)
|
||||||
public void testStopUnstartedServer() throws Throwable {
|
public void testStopUnstartedServer() throws Throwable {
|
||||||
HttpServer server = createTestServer();
|
HttpServer server = createTestServer();
|
||||||
stop(server);
|
stop(server);
|
||||||
|
@ -63,7 +64,7 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
|
||||||
*
|
*
|
||||||
* @throws Throwable on failure
|
* @throws Throwable on failure
|
||||||
*/
|
*/
|
||||||
@Test(timeout=60000)
|
@Ignore ("Hangs on occasion; see HBASE-14430") @Test(timeout=60000)
|
||||||
public void testStartedServerIsAlive() throws Throwable {
|
public void testStartedServerIsAlive() throws Throwable {
|
||||||
HttpServer server = null;
|
HttpServer server = null;
|
||||||
server = createTestServer();
|
server = createTestServer();
|
||||||
|
@ -89,7 +90,7 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
|
||||||
*
|
*
|
||||||
* @throws Throwable on failure
|
* @throws Throwable on failure
|
||||||
*/
|
*/
|
||||||
@Test(timeout=60000)
|
@Ignore ("Hangs on occasion; see HBASE-14430") @Test(timeout=60000)
|
||||||
public void testStoppedServerIsNotAlive() throws Throwable {
|
public void testStoppedServerIsNotAlive() throws Throwable {
|
||||||
HttpServer server = createAndStartTestServer();
|
HttpServer server = createAndStartTestServer();
|
||||||
assertAlive(server);
|
assertAlive(server);
|
||||||
|
@ -102,7 +103,7 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
|
||||||
*
|
*
|
||||||
* @throws Throwable on failure
|
* @throws Throwable on failure
|
||||||
*/
|
*/
|
||||||
@Test(timeout=60000)
|
@Ignore ("Hangs on occasion; see HBASE-14430") @Test(timeout=60000)
|
||||||
public void testStoppingTwiceServerIsAllowed() throws Throwable {
|
public void testStoppingTwiceServerIsAllowed() throws Throwable {
|
||||||
HttpServer server = createAndStartTestServer();
|
HttpServer server = createAndStartTestServer();
|
||||||
assertAlive(server);
|
assertAlive(server);
|
||||||
|
@ -118,7 +119,7 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
|
||||||
* @throws Throwable
|
* @throws Throwable
|
||||||
* on failure
|
* on failure
|
||||||
*/
|
*/
|
||||||
@Test(timeout=60000)
|
@Ignore ("Hangs on occasion; see HBASE-14430") @Test(timeout=60000)
|
||||||
public void testWepAppContextAfterServerStop() throws Throwable {
|
public void testWepAppContextAfterServerStop() throws Throwable {
|
||||||
HttpServer server = null;
|
HttpServer server = null;
|
||||||
String key = "test.attribute.key";
|
String key = "test.attribute.key";
|
||||||
|
|
Loading…
Reference in New Issue