camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/8] git commit: Skip these tests running on Windows, like we do with jetty also
Date Fri, 08 Nov 2013 14:18:08 GMT
Updated Branches:
  refs/heads/camel-2.11.x 67c63ee26 -> 31fddb73c
  refs/heads/camel-2.12.x ca791ef40 -> e771d52c5
  refs/heads/master 55ef85040 -> 85e00fed9


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/a6a33100
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a6a33100
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a6a33100

Branch: refs/heads/master
Commit: a6a3310060d981401ff6bbbe5da6b5356924a261
Parents: 55ef850
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Fri Nov 8 15:01:16 2013 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Nov 8 15:01:16 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/a6a33100/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/a6a33100/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);


Mime
View raw message