You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2015/03/04 16:01:24 UTC
camel git commit: Skip and fixed test on windows
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 <da...@apache.org>
Authored: Wed Mar 4 16:02:38 2015 +0100
Committer: Claus Ibsen <da...@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);