You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2015/04/17 11:34:29 UTC

camel git commit: Enable the Jetty unit tests in windows

Repository: camel
Updated Branches:
  refs/heads/master 0193c1981 -> c65b632dd


Enable the Jetty unit tests in windows


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

Branch: refs/heads/master
Commit: c65b632ddc973a1c5c7c724bc34ce0759bc3c0af
Parents: 0193c19
Author: Willem Jiang <wi...@gmail.com>
Authored: Fri Apr 17 17:34:07 2015 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Fri Apr 17 17:34:07 2015 +0800

----------------------------------------------------------------------
 .../jetty/jettyproducer/JettyHttpProducerAsyncTimeoutTest.java | 6 +-----
 .../jetty/jettyproducer/JettyHttpProducerAsynchronousTest.java | 4 ----
 .../JettyHttpProducerBridgePathWithSpacesAtEndTest.java        | 6 +-----
 .../JettyHttpProducerBridgePathWithSpacesTest.java             | 6 +-----
 .../jetty/jettyproducer/JettyHttpProducerBridgeTest.java       | 5 -----
 .../jetty/jettyproducer/JettyHttpProducerQueryParamTest.java   | 6 +-----
 .../jettyproducer/JettyHttpProducerSimulate404ErrorTest.java   | 5 -----
 .../jettyproducer/JettyHttpProducerSynchronousFalseTest.java   | 6 +-----
 .../jetty/jettyproducer/JettyHttpProducerSynchronousTest.java  | 6 +-----
 .../jetty/jettyproducer/JettyHttpProducerTimeoutTest.java      | 5 -----
 10 files changed, 6 insertions(+), 49 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/c65b632d/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerAsyncTimeoutTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerAsyncTimeoutTest.java b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerAsyncTimeoutTest.java
index 3632443..e6c8942 100644
--- a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerAsyncTimeoutTest.java
+++ b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerAsyncTimeoutTest.java
@@ -30,11 +30,7 @@ public class JettyHttpProducerAsyncTimeoutTest extends BaseJettyTest {
 
     @Test
     public void testTimeout() throws Exception {
-        // these tests does not run well on Windows
-        if (isPlatform("windows")) {
-            return;
-        }
-
+        
         // give Jetty time to startup properly
         Thread.sleep(1000);
 

http://git-wip-us.apache.org/repos/asf/camel/blob/c65b632d/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerAsynchronousTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerAsynchronousTest.java b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerAsynchronousTest.java
index b222fd7..f8ceaae 100644
--- a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerAsynchronousTest.java
+++ b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerAsynchronousTest.java
@@ -37,10 +37,6 @@ public class JettyHttpProducerAsynchronousTest extends BaseJettyTest {
 
     @Test
     public void testAsynchronous() throws Exception {
-        // these tests does not run well on Windows
-        if (isPlatform("windows")) {
-            return;
-        }
 
         // give Jetty time to startup properly
         Thread.sleep(1000);

http://git-wip-us.apache.org/repos/asf/camel/blob/c65b632d/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerBridgePathWithSpacesAtEndTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerBridgePathWithSpacesAtEndTest.java b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerBridgePathWithSpacesAtEndTest.java
index 2f30c4e..1dfccf0 100644
--- a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerBridgePathWithSpacesAtEndTest.java
+++ b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerBridgePathWithSpacesAtEndTest.java
@@ -30,11 +30,7 @@ public class JettyHttpProducerBridgePathWithSpacesAtEndTest extends BaseJettyTes
 
     @Test
     public void testProxy() throws Exception {
-        // these tests does not run well on Windows
-        if (isPlatform("windows")) {
-            return;
-        }
-
+       
         // give Jetty time to startup properly
         Thread.sleep(2000);
 

http://git-wip-us.apache.org/repos/asf/camel/blob/c65b632d/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerBridgePathWithSpacesTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerBridgePathWithSpacesTest.java b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerBridgePathWithSpacesTest.java
index 2541d03..d803881 100644
--- a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerBridgePathWithSpacesTest.java
+++ b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerBridgePathWithSpacesTest.java
@@ -30,11 +30,7 @@ public class JettyHttpProducerBridgePathWithSpacesTest extends BaseJettyTest {
 
     @Test
     public void testProxy() throws Exception {
-        // these tests does not run well on Windows
-        if (isPlatform("windows")) {
-            return;
-        }
-
+        
         // give Jetty time to startup properly
         Thread.sleep(2000);
 

http://git-wip-us.apache.org/repos/asf/camel/blob/c65b632d/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerBridgeTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerBridgeTest.java b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerBridgeTest.java
index 8424604..8c784e4 100644
--- a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerBridgeTest.java
+++ b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerBridgeTest.java
@@ -30,11 +30,6 @@ public class JettyHttpProducerBridgeTest extends BaseJettyTest {
 
     @Test
     public void testProxy() throws Exception {
-        // these tests does not run well on Windows
-        if (isPlatform("windows")) {
-            return;
-        }
-
         // give Jetty time to startup properly
         Thread.sleep(2000);
 

http://git-wip-us.apache.org/repos/asf/camel/blob/c65b632d/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerQueryParamTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerQueryParamTest.java b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerQueryParamTest.java
index 166eb46..bf093e6 100644
--- a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerQueryParamTest.java
+++ b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerQueryParamTest.java
@@ -33,11 +33,7 @@ public class JettyHttpProducerQueryParamTest extends BaseJettyTest {
 
     @Test
     public void testQueryParameters() throws Exception {
-        // these tests does not run well on Windows
-        if (isPlatform("windows")) {
-            return;
-        }
-
+        
         // give Jetty time to startup properly
         Thread.sleep(1000);
 

http://git-wip-us.apache.org/repos/asf/camel/blob/c65b632d/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerSimulate404ErrorTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerSimulate404ErrorTest.java b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerSimulate404ErrorTest.java
index 573eb36..603f36a 100644
--- a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerSimulate404ErrorTest.java
+++ b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerSimulate404ErrorTest.java
@@ -32,11 +32,6 @@ public class JettyHttpProducerSimulate404ErrorTest extends BaseJettyTest {
 
     @Test
     public void test404() throws Exception {
-        // these tests does not run well on Windows
-        if (isPlatform("windows")) {
-            return;
-        }
-
         // give Jetty time to startup properly
         Thread.sleep(1000);
 

http://git-wip-us.apache.org/repos/asf/camel/blob/c65b632d/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerSynchronousFalseTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerSynchronousFalseTest.java b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerSynchronousFalseTest.java
index 067363f..db1d5ee 100644
--- a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerSynchronousFalseTest.java
+++ b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerSynchronousFalseTest.java
@@ -33,11 +33,7 @@ public class JettyHttpProducerSynchronousFalseTest extends BaseJettyTest {
 
     @Test
     public void testSynchronous() throws Exception {
-        // these tests does not run well on Windows
-        if (isPlatform("windows")) {
-            return;
-        }
-
+        
         // give Jetty time to startup properly
         Thread.sleep(1000);
 

http://git-wip-us.apache.org/repos/asf/camel/blob/c65b632d/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerSynchronousTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerSynchronousTest.java b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerSynchronousTest.java
index cf3a1ef..6fba025 100644
--- a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerSynchronousTest.java
+++ b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerSynchronousTest.java
@@ -33,11 +33,7 @@ public class JettyHttpProducerSynchronousTest extends BaseJettyTest {
 
     @Test
     public void testSynchronous() throws Exception {
-        // these tests does not run well on Windows
-        if (isPlatform("windows")) {
-            return;
-        }
-
+        
         // give Jetty time to startup properly
         Thread.sleep(1000);
 

http://git-wip-us.apache.org/repos/asf/camel/blob/c65b632d/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerTimeoutTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerTimeoutTest.java b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerTimeoutTest.java
index 6bf3653..082cd18 100644
--- a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerTimeoutTest.java
+++ b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerTimeoutTest.java
@@ -32,11 +32,6 @@ public class JettyHttpProducerTimeoutTest extends BaseJettyTest {
 
     @Test
     public void testTimeout() throws Exception {
-        // these tests does not run well on Windows
-        if (isPlatform("windows")) {
-            return;
-        }
-
         // give Jetty time to startup properly
         Thread.sleep(1000);
         final MyInputStream is = new MyInputStream("Content".getBytes());