camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r749530 - /camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java
Date Tue, 03 Mar 2009 05:15:02 GMT
Author: ningjiang
Date: Tue Mar  3 05:15:02 2009
New Revision: 749530

URL: http://svn.apache.org/viewvc?rev=749530&view=rev
Log:
Fixed the camel-amqp test error in windows box

Modified:
    camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java

Modified: camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java?rev=749530&r1=749529&r2=749530&view=diff
==============================================================================
--- camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java
(original)
+++ camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java
Tue Mar  3 05:15:02 2009
@@ -39,11 +39,7 @@
 
         resultEndpoint.message(0).header("cheese").isEqualTo(123);
 
-        sendExchange(expectedBody);
-        if (System.getProperty("os.name").startsWith("Windows")) {
-            // send the message twice to walk around the AMQP's drop first message issue
on Windows box
-            sendExchange(expectedBody);
-        }
+        sendExchange(expectedBody);        
 
         resultEndpoint.assertIsSatisfied();
 



Mime
View raw message