camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: Skip and fixed test on windows
Date Wed, 04 Mar 2015 15:01:24 GMT
Repository: camel
Updated Branches:
  refs/heads/master e0cfbea34 -> f3829994c


Skip and fixed test on windows


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f3829994
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f3829994
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f3829994

Branch: refs/heads/master
Commit: f3829994c66379e5f9d30968efdb0e15aa874900
Parents: e0cfbea
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Wed Mar 4 16:02:38 2015 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Wed Mar 4 16:02:38 2015 +0100

----------------------------------------------------------------------
 .../org/apache/camel/test/blueprint/PropertyInjectTest.java     | 5 +++++
 .../management/ManagedEndpointInjectRefEndpointTest.java        | 4 ++++
 2 files changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/f3829994/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/PropertyInjectTest.java
----------------------------------------------------------------------
diff --git a/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/PropertyInjectTest.java
b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/PropertyInjectTest.java
index 589380d..0a1912d 100644
--- a/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/PropertyInjectTest.java
+++ b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/PropertyInjectTest.java
@@ -27,6 +27,11 @@ public class PropertyInjectTest extends CamelBlueprintTestSupport {
 
     @Test
     public void testPropertyInject() throws Exception {
+        if (isPlatform("windows")) {
+            // need a bit slack
+            Thread.sleep(1000);
+        }
+
         getMockEndpoint("mock:result").expectedBodiesReceived("Hello");
 
         template.sendBody("seda:start", "Camel");

http://git-wip-us.apache.org/repos/asf/camel/blob/f3829994/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/management/ManagedEndpointInjectRefEndpointTest.java
----------------------------------------------------------------------
diff --git a/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/management/ManagedEndpointInjectRefEndpointTest.java
b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/management/ManagedEndpointInjectRefEndpointTest.java
index ff36b3a..1687f95 100644
--- a/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/management/ManagedEndpointInjectRefEndpointTest.java
+++ b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/management/ManagedEndpointInjectRefEndpointTest.java
@@ -47,6 +47,10 @@ public class ManagedEndpointInjectRefEndpointTest extends CamelBlueprintTestSupp
         if (isPlatform("aix")) {
             return;
         }
+        // don't test well on windows
+        if (isPlatform("windows")) {
+            return;
+        }
 
         // fire a message to get it running
         getMockEndpoint("mock:result").expectedMessageCount(1);


Mime
View raw message