cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cxf git commit: CXF-5855: increase SSE broadcaster test case timeouts
Date Sat, 24 Sep 2016 12:32:22 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 7e2b6f21b -> bff51a63a


CXF-5855: increase SSE broadcaster test case timeouts


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

Branch: refs/heads/master
Commit: bff51a63aa05df40f92c80bb940fb43af78653f2
Parents: 7e2b6f2
Author: reta <drreta@gmail.com>
Authored: Sat Sep 24 08:32:05 2016 -0400
Committer: reta <drreta@gmail.com>
Committed: Sat Sep 24 08:32:05 2016 -0400

----------------------------------------------------------------------
 .../apache/cxf/systest/jaxrs/sse/AbstractBroadcasterSseTest.java   | 2 +-
 .../src/test/java/org/apache/cxf/systest/jaxrs/sse/BookStore.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/bff51a63/systests/rs-sse/src/test/java/org/apache/cxf/systest/jaxrs/sse/AbstractBroadcasterSseTest.java
----------------------------------------------------------------------
diff --git a/systests/rs-sse/src/test/java/org/apache/cxf/systest/jaxrs/sse/AbstractBroadcasterSseTest.java
b/systests/rs-sse/src/test/java/org/apache/cxf/systest/jaxrs/sse/AbstractBroadcasterSseTest.java
index d09dbb3..98360a5 100644
--- a/systests/rs-sse/src/test/java/org/apache/cxf/systest/jaxrs/sse/AbstractBroadcasterSseTest.java
+++ b/systests/rs-sse/src/test/java/org/apache/cxf/systest/jaxrs/sse/AbstractBroadcasterSseTest.java
@@ -49,7 +49,7 @@ public abstract class AbstractBroadcasterSseTest extends AbstractSseBaseTest
{
         createWebClient("/rest/api/bookstore/broadcast/close")
             .async()
             .post(null)
-            .get(4, TimeUnit.SECONDS)
+            .get(5, TimeUnit.SECONDS)
             .close();
 
         for (final Future<Response> result: results) {

http://git-wip-us.apache.org/repos/asf/cxf/blob/bff51a63/systests/rs-sse/src/test/java/org/apache/cxf/systest/jaxrs/sse/BookStore.java
----------------------------------------------------------------------
diff --git a/systests/rs-sse/src/test/java/org/apache/cxf/systest/jaxrs/sse/BookStore.java
b/systests/rs-sse/src/test/java/org/apache/cxf/systest/jaxrs/sse/BookStore.java
index d7a8b57..1d5baff 100644
--- a/systests/rs-sse/src/test/java/org/apache/cxf/systest/jaxrs/sse/BookStore.java
+++ b/systests/rs-sse/src/test/java/org/apache/cxf/systest/jaxrs/sse/BookStore.java
@@ -125,7 +125,7 @@ public class BookStore {
     public void stop() {
         try {
             // Await a least 2 clients to be broadcasted over 
-            if (!latch.await(2, TimeUnit.SECONDS)) {
+            if (!latch.await(4, TimeUnit.SECONDS)) {
                 LOG.warn("Not enough clients have been connected, closing broadcaster anyway");
             }
         } catch (final InterruptedException ex) {


Mime
View raw message