Skip these tests running on Windows, like we do with jetty also
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/7fae1b3c Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/7fae1b3c Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/7fae1b3c Branch: refs/heads/camel-2.12.x Commit: 7fae1b3cfc4fb73286a78392d0191e7a040f8c9b Parents: ca791ef Author: Claus Ibsen <davscl...@apache.org> Authored: Fri Nov 8 15:01:16 2013 +0100 Committer: Claus Ibsen <davscl...@apache.org> Committed: Fri Nov 8 15:18:37 2013 +0100 ---------------------------------------------------------------------- .../component/netty/http/NettyHttpSuspendResume503Test.java | 5 +++++ .../camel/component/netty/http/NettyHttpSuspendResumeTest.java | 5 +++++ 2 files changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/7fae1b3c/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSuspendResume503Test.java ---------------------------------------------------------------------- diff --git a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSuspendResume503Test.java b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSuspendResume503Test.java index 373e439..b3f3d8b 100644 --- a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSuspendResume503Test.java +++ b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSuspendResume503Test.java @@ -25,6 +25,11 @@ public class NettyHttpSuspendResume503Test extends BaseNettyTest { @Test public void testNettySuspendResume() throws Exception { + // these tests does not run well on Windows + if (isPlatform("windows")) { + return; + } + context.getShutdownStrategy().setTimeout(50); String reply = template.requestBody(serverUri, "World", String.class); http://git-wip-us.apache.org/repos/asf/camel/blob/7fae1b3c/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSuspendResumeTest.java ---------------------------------------------------------------------- diff --git a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSuspendResumeTest.java b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSuspendResumeTest.java index dbc4893..e9ef2eb 100644 --- a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSuspendResumeTest.java +++ b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSuspendResumeTest.java @@ -25,6 +25,11 @@ public class NettyHttpSuspendResumeTest extends BaseNettyTest { @Test public void testNettySuspendResume() throws Exception { + // these tests does not run well on Windows + if (isPlatform("windows")) { + return; + } + context.getShutdownStrategy().setTimeout(50); String reply = template.requestBody(serverUri, "World", String.class);