Author: ningjiang
Date: Thu Aug 28 22:49:10 2008
New Revision: 690113

URL: http://svn.apache.org/viewvc?rev=690113&view=rev
Log:
Try to fix the AMQPRouteTest in Windows box

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

Modified: 
activemq/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java
URL: 
http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java?rev=690113&r1=690112&r2=690113&view=diff
==============================================================================
--- 
activemq/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java
 (original)
+++ 
activemq/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java
 Thu Aug 28 22:49:10 2008
@@ -40,8 +40,8 @@
         resultEndpoint.message(0).header("cheese").isEqualTo(123);
 
         sendExchange(expectedBody);
-        if (System.getProperty("os.name").equals("Windows Vista")) {
-            // send the message twice to walk around the AMQP's drop first 
message issue on Windows Vista box
+        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);
         }
 


Reply via email to