cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r808731 - /cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java
Date Fri, 28 Aug 2009 02:10:53 GMT
Author: ningjiang
Date: Fri Aug 28 02:10:52 2009
New Revision: 808731

URL: http://svn.apache.org/viewvc?rev=808731&view=rev
Log:
Fixed the JMSDestinationTest 

Modified:
    cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java

Modified: cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java?rev=808731&r1=808730&r2=808731&view=diff
==============================================================================
--- cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java
(original)
+++ cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java
Fri Aug 28 02:10:52 2009
@@ -174,8 +174,6 @@
     }
 
     @Test
-    @org.junit.Ignore("randomly fails.  Not sure why. Tried increased"
-                      + "timeouts and such to no affect. - dkulp")
     public void testDurableSubscriber() throws Exception {
         SpringBusFactory bf = new SpringBusFactory();
         BusFactory.setDefaultBus(null);
@@ -188,6 +186,8 @@
         Message outMessage = new MessageImpl();
         setupMessageHeader(outMessage);
         JMSDestination destination = setupJMSDestination(true);
+        // The JMSBroker (ActiveMQ 5.x) need to take some time to setup the DurableSubscriber
+        Thread.sleep(2000);
         sendoutMessage(conduit, outMessage, true);
         // wait for the message to be get from the destination
         //long time = System.currentTimeMillis();



Mime
View raw message