cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r806576 - /cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java
Date Fri, 21 Aug 2009 14:47:33 GMT
Author: ningjiang
Date: Fri Aug 21 14:47:33 2009
New Revision: 806576

URL: http://svn.apache.org/viewvc?rev=806576&view=rev
Log:
Try to fix the JMSDestinationTest error

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=806576&r1=806575&r2=806576&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 21 14:47:33 2009
@@ -147,7 +147,7 @@
         assertEquals("The borker URL is wrong", cf.getBrokerURL(), "tcp://localhost:61500");
         assertEquals("Get a wrong TargetDestination", jmsConfig.getTargetDestination(), "queue:test");
         assertEquals("Get the wrong pubSubDomain value", jmsConfig.isPubSubDomain(), false);
-        
+        destination.shutdown();
         BusFactory.setDefaultBus(null);
 
     }
@@ -169,13 +169,13 @@
         assertEquals("Can't get the right AddressPolicy's Destination",
                      "dynamicQueues/test.jmstransport.binary", destination.getJmsConfig()
                          .getTargetDestination());
-
+        destination.shutdown();
         BusFactory.setDefaultBus(null);
 
     }
 
     @Test
-    @Ignore("randomly fails.  Not sure why. Tried increased timeouts and such to no affect.
- dkulp")
+    //@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);
@@ -199,6 +199,7 @@
         verifyHeaders(destMessage, outMessage);
         conduit.close();
         destination.shutdown();
+        BusFactory.setDefaultBus(null);
     }
 
     @Test



Mime
View raw message