cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject cxf git commit: [CXF-7051]RequestResponseTest.testRequestTopicResponseStaticQueue intermittently failed with java9
Date Tue, 13 Sep 2016 07:54:26 GMT
Repository: cxf
Updated Branches:
  refs/heads/master-java9 e9b997e80 -> 573405dd5


[CXF-7051]RequestResponseTest.testRequestTopicResponseStaticQueue intermittently failed with
java9


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

Branch: refs/heads/master-java9
Commit: 573405dd523139bb935339b89c28f849676da727
Parents: e9b997e
Author: Freeman Fang <freeman.fang@gmail.com>
Authored: Tue Sep 13 15:54:00 2016 +0800
Committer: Freeman Fang <freeman.fang@gmail.com>
Committed: Tue Sep 13 15:54:00 2016 +0800

----------------------------------------------------------------------
 .../test/java/org/apache/cxf/transport/jms/AbstractJMSTester.java | 2 +-
 .../java/org/apache/cxf/transport/jms/RequestResponseTest.java    | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/573405dd/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/AbstractJMSTester.java
----------------------------------------------------------------------
diff --git a/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/AbstractJMSTester.java
b/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/AbstractJMSTester.java
index b34f53d..2d54adc 100644
--- a/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/AbstractJMSTester.java
+++ b/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/AbstractJMSTester.java
@@ -207,7 +207,7 @@ public abstract class AbstractJMSTester extends Assert {
 
     protected void waitForReceiveInMessage() {
         int waitTime = 0;
-        while (inMessage == null && waitTime < MAX_RECEIVE_TIME) {
+        while (inMessage == null && waitTime < MAX_RECEIVE_TIME * 10) {
             try {
                 Thread.sleep(100);
             } catch (InterruptedException e) {

http://git-wip-us.apache.org/repos/asf/cxf/blob/573405dd/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/RequestResponseTest.java
----------------------------------------------------------------------
diff --git a/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/RequestResponseTest.java
b/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/RequestResponseTest.java
index 6612a2c..c44179c 100644
--- a/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/RequestResponseTest.java
+++ b/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/RequestResponseTest.java
@@ -30,7 +30,6 @@ import org.apache.cxf.message.MessageImpl;
 import org.apache.cxf.service.model.EndpointInfo;
 import org.apache.cxf.transport.Conduit;
 import org.apache.cxf.transport.MessageObserver;
-import org.junit.Ignore;
 import org.junit.Test;
 
 public class RequestResponseTest extends AbstractJMSTester {
@@ -84,7 +83,7 @@ public class RequestResponseTest extends AbstractJMSTester {
         sendAndReceiveMessages(ei, true);
     }
     
-    @Ignore
+    @Test
     public void testRequestTopicResponseStaticQueue() throws Exception {
         EndpointInfo ei = setupServiceInfo("http://cxf.apache.org/jms_simple", "/wsdl/jms_spec_testsuite.wsdl",
                          "JMSSimpleService002X", "SimplePortTopicRequestQueueResponse");


Mime
View raw message