camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggrzy...@apache.org
Subject git commit: camel-spark-rest: fixing timing issue in spark tests. -DskipTests really skips the tests now
Date Fri, 12 Sep 2014 07:27:07 GMT
Repository: camel
Updated Branches:
  refs/heads/master 45f12263e -> 47d169ae7


camel-spark-rest: fixing timing issue in spark tests. -DskipTests really skips the tests now


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

Branch: refs/heads/master
Commit: 47d169ae7d1c6b5cc2192b9603b2c4f47140df48
Parents: 45f1226
Author: Grzegorz Grzybek <gr.grzybek@gmail.com>
Authored: Fri Sep 12 09:26:31 2014 +0200
Committer: Grzegorz Grzybek <gr.grzybek@gmail.com>
Committed: Fri Sep 12 09:26:31 2014 +0200

----------------------------------------------------------------------
 components/camel-spark-rest/pom.xml                 | 16 ++--------------
 .../camel/component/sparkrest/BaseSparkTest.java    |  1 +
 2 files changed, 3 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/47d169ae/components/camel-spark-rest/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-spark-rest/pom.xml b/components/camel-spark-rest/pom.xml
index a3b18b1..c064f18 100644
--- a/components/camel-spark-rest/pom.xml
+++ b/components/camel-spark-rest/pom.xml
@@ -119,15 +119,14 @@
     <profile>
       <id>jdk8-test</id>
       <activation>
-        <jdk>1.8</jdk>
+        <jdk>!1.8</jdk>
       </activation>
       <build>
         <plugins>
           <plugin>
             <artifactId>maven-surefire-plugin</artifactId>
             <configuration>
-              <skipTests>false</skipTests>
-              <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
+              <skipTests>true</skipTests>
             </configuration>
           </plugin>
         </plugins>
@@ -135,15 +134,4 @@
     </profile>
   </profiles>
 
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <skipTests>true</skipTests>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
 </project>

http://git-wip-us.apache.org/repos/asf/camel/blob/47d169ae/components/camel-spark-rest/src/test/java/org/apache/camel/component/sparkrest/BaseSparkTest.java
----------------------------------------------------------------------
diff --git a/components/camel-spark-rest/src/test/java/org/apache/camel/component/sparkrest/BaseSparkTest.java
b/components/camel-spark-rest/src/test/java/org/apache/camel/component/sparkrest/BaseSparkTest.java
index 77d862e..a810ace 100644
--- a/components/camel-spark-rest/src/test/java/org/apache/camel/component/sparkrest/BaseSparkTest.java
+++ b/components/camel-spark-rest/src/test/java/org/apache/camel/component/sparkrest/BaseSparkTest.java
@@ -32,6 +32,7 @@ public abstract class BaseSparkTest extends CamelTestSupport {
     public void setUp() throws Exception {
         port = AvailablePortFinder.getNextAvailable(25500);
         super.setUp();
+        Thread.sleep(200);
     }
 
     @Override


Mime
View raw message