camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r905262 - /camel/trunk/components/camel-ruby/src/test/java/org/apache/camel/ruby/RubyTest.java
Date Mon, 01 Feb 2010 11:48:03 GMT
Author: davsclaus
Date: Mon Feb  1 11:48:03 2010
New Revision: 905262

URL: http://svn.apache.org/viewvc?rev=905262&view=rev
Log:
Skipping tests on Windows which has problem loading jruby currently.

Modified:
    camel/trunk/components/camel-ruby/src/test/java/org/apache/camel/ruby/RubyTest.java

Modified: camel/trunk/components/camel-ruby/src/test/java/org/apache/camel/ruby/RubyTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-ruby/src/test/java/org/apache/camel/ruby/RubyTest.java?rev=905262&r1=905261&r2=905262&view=diff
==============================================================================
--- camel/trunk/components/camel-ruby/src/test/java/org/apache/camel/ruby/RubyTest.java (original)
+++ camel/trunk/components/camel-ruby/src/test/java/org/apache/camel/ruby/RubyTest.java Mon
Feb  1 11:48:03 2010
@@ -34,6 +34,10 @@
 
     @Test
     public void testSendMatchingMessage() throws Exception {
+        if (isPlatform("windows")) {
+            return;
+        }
+
         MockEndpoint resultEndpoint = getMockEndpoint("mock:results");
         resultEndpoint.expectedBodiesReceived(expected);
 
@@ -44,6 +48,10 @@
 
     @Test
     public void testSendNotMatchingMessage() throws Exception {
+        if (isPlatform("windows")) {
+            return;
+        }
+
         MockEndpoint resultEndpoint = getMockEndpoint("mock:results");
         resultEndpoint.expectedMessageCount(0);
         
@@ -52,9 +60,12 @@
         assertMockEndpointsSatisfied();
     }
 
-
     @Override
     protected CamelContext createCamelContext() throws Exception {
+        // appears to cause issue on some windows with loading jruby
+        if (isPlatform("windows")) {
+            return super.createCamelContext();
+        }
         CamelContext answer = super.createCamelContext();
         RubyCamel.setCamelContext(answer);
 



Mime
View raw message