Hi for me camel-spark-rest was running the tests in any case (even with -Dmaven.test.skip=true or -DskipTests or -Pfastinstall).
regards Grzegorz 2014-09-12 10:01 GMT+02:00 Willem Jiang <willem.ji...@gmail.com>: > Hi Grzegorz, > > I tried to run "mvn clean install" with JDK17 and JDK18, all the tests ran > even with JDK17. > > > -- > Willem Jiang > > Red Hat, Inc. > Web: http://www.redhat.com > Blog: http://willemjiang.blogspot.com (English) > http://jnn.iteye.com (Chinese) > Twitter: willemjiang > Weibo: 姜宁willem > > > > On September 12, 2014 at 3:27:08 PM, ggrzy...@apache.org ( > ggrzy...@apache.org) wrote: > > 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 > > Authored: Fri Sep 12 09:26:31 2014 +0200 > > Committer: Grzegorz Grzybek > > 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 @@ > > > > jdk8-test > > > > - 1.8 > > + !1.8 > > > > > > > > > > maven-surefire-plugin > > > > - false > > - 300 > > + true > > > > > > > > @@ -135,15 +134,4 @@ > > > > > > > > - > > - > > - > > - maven-surefire-plugin > > - > > - true > > - > > - > > - > > - > > - > > > > > > > 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 > > > > > >