You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by mb...@apache.org on 2015/09/03 21:09:41 UTC
[1/5] hbase git commit: HBASE-14344 Add timeouts to
TestHttpServerLifecycle
Repository: hbase
Updated Branches:
refs/heads/branch-1 1717de65a -> 8a4aee608
refs/heads/branch-1.0 e19cb719d -> 9b3e4bc89
refs/heads/branch-1.1 670d9e77c -> f0f6e075f
refs/heads/branch-1.2 3488ec4be -> df17a6949
refs/heads/master e48991970 -> 5152ac0e2
HBASE-14344 Add timeouts to TestHttpServerLifecycle
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/df17a694
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/df17a694
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/df17a694
Branch: refs/heads/branch-1.2
Commit: df17a6949e45de78bd6dd297f9457be12a4d7edd
Parents: 3488ec4
Author: Matteo Bertozzi <ma...@cloudera.com>
Authored: Thu Sep 3 10:26:27 2015 -0700
Committer: Matteo Bertozzi <ma...@cloudera.com>
Committed: Thu Sep 3 10:43:54 2015 -0700
----------------------------------------------------------------------
.../hbase/http/TestHttpServerLifecycle.java | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/df17a694/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 b71db0e..4a2723e 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
@@ -44,12 +44,14 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
*
* @throws Throwable on failure
*/
- @Test public void testCreatedServerIsNotAlive() throws Throwable {
+ @Test(timeout=60000)
+ public void testCreatedServerIsNotAlive() throws Throwable {
HttpServer server = createTestServer();
assertNotLive(server);
}
- @Test public void testStopUnstartedServer() throws Throwable {
+ @Test(timeout=60000)
+ public void testStopUnstartedServer() throws Throwable {
HttpServer server = createTestServer();
stop(server);
}
@@ -59,7 +61,7 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
*
* @throws Throwable on failure
*/
- @Test
+ @Test(timeout=60000)
public void testStartedServerIsAlive() throws Throwable {
HttpServer server = null;
server = createTestServer();
@@ -85,7 +87,8 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
*
* @throws Throwable on failure
*/
- @Test public void testStoppedServerIsNotAlive() throws Throwable {
+ @Test(timeout=60000)
+ public void testStoppedServerIsNotAlive() throws Throwable {
HttpServer server = createAndStartTestServer();
assertAlive(server);
stop(server);
@@ -97,7 +100,8 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
*
* @throws Throwable on failure
*/
- @Test public void testStoppingTwiceServerIsAllowed() throws Throwable {
+ @Test(timeout=60000)
+ public void testStoppingTwiceServerIsAllowed() throws Throwable {
HttpServer server = createAndStartTestServer();
assertAlive(server);
stop(server);
@@ -108,11 +112,11 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
/**
* Test that the server is alive once started
- *
+ *
* @throws Throwable
* on failure
*/
- @Test
+ @Test(timeout=60000)
public void testWepAppContextAfterServerStop() throws Throwable {
HttpServer server = null;
String key = "test.attribute.key";
[5/5] hbase git commit: HBASE-14344 Add timeouts to
TestHttpServerLifecycle
Posted by mb...@apache.org.
HBASE-14344 Add timeouts to TestHttpServerLifecycle
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/5152ac0e
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/5152ac0e
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/5152ac0e
Branch: refs/heads/master
Commit: 5152ac0e208fd5f720734fb2abf3fae07b39c7e2
Parents: e489919
Author: Matteo Bertozzi <ma...@cloudera.com>
Authored: Thu Sep 3 10:26:27 2015 -0700
Committer: Matteo Bertozzi <ma...@cloudera.com>
Committed: Thu Sep 3 12:07:52 2015 -0700
----------------------------------------------------------------------
.../hbase/http/TestHttpServerLifecycle.java | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/5152ac0e/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 2fb51ea..de290e3 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
@@ -46,12 +46,14 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
*
* @throws Throwable on failure
*/
- @Test public void testCreatedServerIsNotAlive() throws Throwable {
+ @Test(timeout=60000)
+ public void testCreatedServerIsNotAlive() throws Throwable {
HttpServer server = createTestServer();
assertNotLive(server);
}
- @Test public void testStopUnstartedServer() throws Throwable {
+ @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
+ @Test(timeout=60000)
public void testStartedServerIsAlive() throws Throwable {
HttpServer server = null;
server = createTestServer();
@@ -87,7 +89,8 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
*
* @throws Throwable on failure
*/
- @Test public void testStoppedServerIsNotAlive() throws Throwable {
+ @Test(timeout=60000)
+ public void testStoppedServerIsNotAlive() throws Throwable {
HttpServer server = createAndStartTestServer();
assertAlive(server);
stop(server);
@@ -99,7 +102,8 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
*
* @throws Throwable on failure
*/
- @Test public void testStoppingTwiceServerIsAllowed() throws Throwable {
+ @Test(timeout=60000)
+ public void testStoppingTwiceServerIsAllowed() throws Throwable {
HttpServer server = createAndStartTestServer();
assertAlive(server);
stop(server);
@@ -110,11 +114,11 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
/**
* Test that the server is alive once started
- *
+ *
* @throws Throwable
* on failure
*/
- @Test
+ @Test(timeout=60000)
public void testWepAppContextAfterServerStop() throws Throwable {
HttpServer server = null;
String key = "test.attribute.key";
[4/5] hbase git commit: HBASE-14344 Add timeouts to
TestHttpServerLifecycle
Posted by mb...@apache.org.
HBASE-14344 Add timeouts to TestHttpServerLifecycle
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/8a4aee60
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/8a4aee60
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/8a4aee60
Branch: refs/heads/branch-1
Commit: 8a4aee60820650576e0d0058d3613692c508209f
Parents: 1717de6
Author: Matteo Bertozzi <ma...@cloudera.com>
Authored: Thu Sep 3 10:26:27 2015 -0700
Committer: Matteo Bertozzi <ma...@cloudera.com>
Committed: Thu Sep 3 12:07:43 2015 -0700
----------------------------------------------------------------------
.../hbase/http/TestHttpServerLifecycle.java | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/8a4aee60/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 b71db0e..4a2723e 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
@@ -44,12 +44,14 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
*
* @throws Throwable on failure
*/
- @Test public void testCreatedServerIsNotAlive() throws Throwable {
+ @Test(timeout=60000)
+ public void testCreatedServerIsNotAlive() throws Throwable {
HttpServer server = createTestServer();
assertNotLive(server);
}
- @Test public void testStopUnstartedServer() throws Throwable {
+ @Test(timeout=60000)
+ public void testStopUnstartedServer() throws Throwable {
HttpServer server = createTestServer();
stop(server);
}
@@ -59,7 +61,7 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
*
* @throws Throwable on failure
*/
- @Test
+ @Test(timeout=60000)
public void testStartedServerIsAlive() throws Throwable {
HttpServer server = null;
server = createTestServer();
@@ -85,7 +87,8 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
*
* @throws Throwable on failure
*/
- @Test public void testStoppedServerIsNotAlive() throws Throwable {
+ @Test(timeout=60000)
+ public void testStoppedServerIsNotAlive() throws Throwable {
HttpServer server = createAndStartTestServer();
assertAlive(server);
stop(server);
@@ -97,7 +100,8 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
*
* @throws Throwable on failure
*/
- @Test public void testStoppingTwiceServerIsAllowed() throws Throwable {
+ @Test(timeout=60000)
+ public void testStoppingTwiceServerIsAllowed() throws Throwable {
HttpServer server = createAndStartTestServer();
assertAlive(server);
stop(server);
@@ -108,11 +112,11 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
/**
* Test that the server is alive once started
- *
+ *
* @throws Throwable
* on failure
*/
- @Test
+ @Test(timeout=60000)
public void testWepAppContextAfterServerStop() throws Throwable {
HttpServer server = null;
String key = "test.attribute.key";
[2/5] hbase git commit: HBASE-14344 Add timeouts to
TestHttpServerLifecycle
Posted by mb...@apache.org.
HBASE-14344 Add timeouts to TestHttpServerLifecycle
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f0f6e075
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f0f6e075
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f0f6e075
Branch: refs/heads/branch-1.1
Commit: f0f6e075fd782607efdd58c90ceb131b0f729040
Parents: 670d9e7
Author: Matteo Bertozzi <ma...@cloudera.com>
Authored: Thu Sep 3 10:26:27 2015 -0700
Committer: Matteo Bertozzi <ma...@cloudera.com>
Committed: Thu Sep 3 12:04:31 2015 -0700
----------------------------------------------------------------------
.../hbase/http/TestHttpServerLifecycle.java | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/f0f6e075/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 b71db0e..4a2723e 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
@@ -44,12 +44,14 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
*
* @throws Throwable on failure
*/
- @Test public void testCreatedServerIsNotAlive() throws Throwable {
+ @Test(timeout=60000)
+ public void testCreatedServerIsNotAlive() throws Throwable {
HttpServer server = createTestServer();
assertNotLive(server);
}
- @Test public void testStopUnstartedServer() throws Throwable {
+ @Test(timeout=60000)
+ public void testStopUnstartedServer() throws Throwable {
HttpServer server = createTestServer();
stop(server);
}
@@ -59,7 +61,7 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
*
* @throws Throwable on failure
*/
- @Test
+ @Test(timeout=60000)
public void testStartedServerIsAlive() throws Throwable {
HttpServer server = null;
server = createTestServer();
@@ -85,7 +87,8 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
*
* @throws Throwable on failure
*/
- @Test public void testStoppedServerIsNotAlive() throws Throwable {
+ @Test(timeout=60000)
+ public void testStoppedServerIsNotAlive() throws Throwable {
HttpServer server = createAndStartTestServer();
assertAlive(server);
stop(server);
@@ -97,7 +100,8 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
*
* @throws Throwable on failure
*/
- @Test public void testStoppingTwiceServerIsAllowed() throws Throwable {
+ @Test(timeout=60000)
+ public void testStoppingTwiceServerIsAllowed() throws Throwable {
HttpServer server = createAndStartTestServer();
assertAlive(server);
stop(server);
@@ -108,11 +112,11 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
/**
* Test that the server is alive once started
- *
+ *
* @throws Throwable
* on failure
*/
- @Test
+ @Test(timeout=60000)
public void testWepAppContextAfterServerStop() throws Throwable {
HttpServer server = null;
String key = "test.attribute.key";
[3/5] hbase git commit: HBASE-14344 Add timeouts to
TestHttpServerLifecycle
Posted by mb...@apache.org.
HBASE-14344 Add timeouts to TestHttpServerLifecycle
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/9b3e4bc8
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/9b3e4bc8
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/9b3e4bc8
Branch: refs/heads/branch-1.0
Commit: 9b3e4bc89c36ca670ccfd6abb1aeaa85b16c70d9
Parents: e19cb71
Author: Matteo Bertozzi <ma...@cloudera.com>
Authored: Thu Sep 3 10:26:27 2015 -0700
Committer: Matteo Bertozzi <ma...@cloudera.com>
Committed: Thu Sep 3 12:05:30 2015 -0700
----------------------------------------------------------------------
.../hbase/http/TestHttpServerLifecycle.java | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/9b3e4bc8/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 b71db0e..4a2723e 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
@@ -44,12 +44,14 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
*
* @throws Throwable on failure
*/
- @Test public void testCreatedServerIsNotAlive() throws Throwable {
+ @Test(timeout=60000)
+ public void testCreatedServerIsNotAlive() throws Throwable {
HttpServer server = createTestServer();
assertNotLive(server);
}
- @Test public void testStopUnstartedServer() throws Throwable {
+ @Test(timeout=60000)
+ public void testStopUnstartedServer() throws Throwable {
HttpServer server = createTestServer();
stop(server);
}
@@ -59,7 +61,7 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
*
* @throws Throwable on failure
*/
- @Test
+ @Test(timeout=60000)
public void testStartedServerIsAlive() throws Throwable {
HttpServer server = null;
server = createTestServer();
@@ -85,7 +87,8 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
*
* @throws Throwable on failure
*/
- @Test public void testStoppedServerIsNotAlive() throws Throwable {
+ @Test(timeout=60000)
+ public void testStoppedServerIsNotAlive() throws Throwable {
HttpServer server = createAndStartTestServer();
assertAlive(server);
stop(server);
@@ -97,7 +100,8 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
*
* @throws Throwable on failure
*/
- @Test public void testStoppingTwiceServerIsAllowed() throws Throwable {
+ @Test(timeout=60000)
+ public void testStoppingTwiceServerIsAllowed() throws Throwable {
HttpServer server = createAndStartTestServer();
assertAlive(server);
stop(server);
@@ -108,11 +112,11 @@ public class TestHttpServerLifecycle extends HttpServerFunctionalTest {
/**
* Test that the server is alive once started
- *
+ *
* @throws Throwable
* on failure
*/
- @Test
+ @Test(timeout=60000)
public void testWepAppContextAfterServerStop() throws Throwable {
HttpServer server = null;
String key = "test.attribute.key";