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

[camel] branch master updated (e03d0e8 -> a7ca8ce)

This is an automated email from the ASF dual-hosted git repository.

pascalschumacher pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from e03d0e8  CAMEL-11869: Upgrade mockito-core to 2.11.0 for camel-hipchat
     new 55f55d4  camel-hawtdb: speed-up tests by not forking the JVM for every test executed
     new 9583904  camel-netty-http: make ManagedNettyEndpointTest succeed when other tests are run before it
     new 36fa07e  camel-netty-http: speed-up tests by not forking the JVM for every test executed
     new cb63329  camel-sjms: speed-up tests by not forking the JVM for every test executed
     new a7ca8ce  camel-http4: speed-up tests by not forking the JVM for every test executed

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 components/camel-hawtdb/pom.xml                            | 13 -------------
 components/camel-http4/pom.xml                             | 14 --------------
 components/camel-netty-http/pom.xml                        | 13 -------------
 .../component/netty/http/ManagedNettyEndpointTest.java     |  8 +++-----
 components/camel-sjms/pom.xml                              |  2 --
 5 files changed, 3 insertions(+), 47 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@camel.apache.org" <co...@camel.apache.org>'].

[camel] 02/05: camel-netty-http: make ManagedNettyEndpointTest succeed when other tests are run before it

Posted by pa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

pascalschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 95839049ee4b3f535b0d2b48eb1d2106784fdb10
Author: Pascal Schumacher <pa...@gmx.net>
AuthorDate: Sun Nov 12 18:02:05 2017 +0100

    camel-netty-http: make ManagedNettyEndpointTest succeed when other tests are run before it
---
 .../camel/component/netty/http/ManagedNettyEndpointTest.java      | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/ManagedNettyEndpointTest.java b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/ManagedNettyEndpointTest.java
index aff7ed9..8e7d785 100644
--- a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/ManagedNettyEndpointTest.java
+++ b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/ManagedNettyEndpointTest.java
@@ -56,13 +56,11 @@ public class ManagedNettyEndpointTest extends BaseNettyTest {
         }
         assertMockEndpointsSatisfied();
 
-        MBeanServer mbeanServer = getMBeanServer();
-
-        ObjectName on = ObjectName.getInstance("org.apache.camel:context=camel-1,type=endpoints,name=\"http://0.0.0.0:" + getPort() + "/foo\"");
-        mbeanServer.isRegistered(on);
+        Set<ObjectName> endpointQueryResult = getMBeanServer().queryNames(new ObjectName("org.apache.camel:context=camel-*,type=endpoints,name=\"http://0.0.0.0:" + getPort() + "/foo\""), null);
+        assertEquals(1, endpointQueryResult.size());
 
         // should only be 2 endpoints in JMX
-        Set<ObjectName> set = getMBeanServer().queryNames(new ObjectName("*:context=camel-1,type=endpoints,*"), null);
+        Set<ObjectName> set = getMBeanServer().queryNames(new ObjectName("*:context=camel-*,type=endpoints,*"), null);
         assertEquals(2, set.size());
     }
 

-- 
To stop receiving notification emails like this one, please contact
"commits@camel.apache.org" <co...@camel.apache.org>.

[camel] 05/05: camel-http4: speed-up tests by not forking the JVM for every test executed

Posted by pa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

pascalschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit a7ca8ce9e184c90d34ab123144769040a6f26b27
Author: Pascal Schumacher <pa...@gmx.net>
AuthorDate: Sun Nov 12 18:31:35 2017 +0100

    camel-http4: speed-up tests by not forking the JVM for every test executed
---
 components/camel-http4/pom.xml | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/components/camel-http4/pom.xml b/components/camel-http4/pom.xml
index e4438dc..4cecdc2 100644
--- a/components/camel-http4/pom.xml
+++ b/components/camel-http4/pom.xml
@@ -105,18 +105,4 @@
       <scope>test</scope>
     </dependency>
   </dependencies>
-
-  <build>
-    <plugins>
-      <!-- use per test fork mode to avoid side effects -->
-      <plugin>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <forkCount>1</forkCount>
-          <reuseForks>false</reuseForks>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
 </project>

-- 
To stop receiving notification emails like this one, please contact
"commits@camel.apache.org" <co...@camel.apache.org>.

[camel] 01/05: camel-hawtdb: speed-up tests by not forking the JVM for every test executed

Posted by pa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

pascalschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 55f55d44bbceea28cfb46c7b41a8315ec1249642
Author: Pascal Schumacher <pa...@gmx.net>
AuthorDate: Sun Nov 12 16:56:31 2017 +0100

    camel-hawtdb: speed-up tests by not forking the JVM for every test executed
---
 components/camel-hawtdb/pom.xml | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/components/camel-hawtdb/pom.xml b/components/camel-hawtdb/pom.xml
index 22f9486..e8f3619 100644
--- a/components/camel-hawtdb/pom.xml
+++ b/components/camel-hawtdb/pom.xml
@@ -85,17 +85,4 @@
         </dependency>
     </dependencies>
 
-    <build>
-        <plugins>
-            <!-- use per test fork mode to avoid side effects -->
-            <plugin>
-              <artifactId>maven-surefire-plugin</artifactId>
-              <configuration>
-          	<forkCount>1</forkCount>
-	  	<reuseForks>false</reuseForks>
-              </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
 </project>

-- 
To stop receiving notification emails like this one, please contact
"commits@camel.apache.org" <co...@camel.apache.org>.

[camel] 04/05: camel-sjms: speed-up tests by not forking the JVM for every test executed

Posted by pa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

pascalschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit cb63329c52c06f99b0228cda79822d4555987301
Author: Pascal Schumacher <pa...@gmx.net>
AuthorDate: Sun Nov 12 18:24:00 2017 +0100

    camel-sjms: speed-up tests by not forking the JVM for every test executed
---
 components/camel-sjms/pom.xml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/components/camel-sjms/pom.xml b/components/camel-sjms/pom.xml
index 500fa28..0fe9e9d 100644
--- a/components/camel-sjms/pom.xml
+++ b/components/camel-sjms/pom.xml
@@ -120,8 +120,6 @@
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <forkCount>1</forkCount>
-          <reuseForks>false</reuseForks>
           <forkedProcessTimeoutInSeconds>6000</forkedProcessTimeoutInSeconds>
         </configuration>
       </plugin>

-- 
To stop receiving notification emails like this one, please contact
"commits@camel.apache.org" <co...@camel.apache.org>.

[camel] 03/05: camel-netty-http: speed-up tests by not forking the JVM for every test executed

Posted by pa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

pascalschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 36fa07ec76e12115cfe43bd00b8501f3de9df5cc
Author: Pascal Schumacher <pa...@gmx.net>
AuthorDate: Sun Nov 12 18:02:41 2017 +0100

    camel-netty-http: speed-up tests by not forking the JVM for every test executed
---
 components/camel-netty-http/pom.xml | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/components/camel-netty-http/pom.xml b/components/camel-netty-http/pom.xml
index 867d214..20f8a91 100644
--- a/components/camel-netty-http/pom.xml
+++ b/components/camel-netty-http/pom.xml
@@ -95,17 +95,4 @@
     </dependency>
 
 	</dependencies>
-
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <forkCount>1</forkCount>
-          <reuseForks>false</reuseForks>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-    
 </project>

-- 
To stop receiving notification emails like this one, please contact
"commits@camel.apache.org" <co...@camel.apache.org>.