You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2012/02/22 13:56:24 UTC

svn commit: r1292266 - in /camel/trunk/components/camel-hazelcast: pom.xml src/test/java/org/apache/camel/component/hazelcast/HazelcastMultimapConsumerTest.java

Author: bvahdat
Date: Wed Feb 22 12:56:24 2012
New Revision: 1292266

URL: http://svn.apache.org/viewvc?rev=1292266&view=rev
Log:
CAMEL-5026: Instruct maven-surefire-plugin to fork JVM for each test.

Modified:
    camel/trunk/components/camel-hazelcast/pom.xml
    camel/trunk/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastMultimapConsumerTest.java

Modified: camel/trunk/components/camel-hazelcast/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-hazelcast/pom.xml?rev=1292266&r1=1292265&r2=1292266&view=diff
==============================================================================
--- camel/trunk/components/camel-hazelcast/pom.xml (original)
+++ camel/trunk/components/camel-hazelcast/pom.xml Wed Feb 22 12:56:24 2012
@@ -68,4 +68,15 @@
 
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <forkMode>pertest</forkMode>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>

Modified: camel/trunk/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastMultimapConsumerTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastMultimapConsumerTest.java?rev=1292266&r1=1292265&r2=1292266&view=diff
==============================================================================
--- camel/trunk/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastMultimapConsumerTest.java (original)
+++ camel/trunk/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastMultimapConsumerTest.java Wed Feb 22 12:56:24 2012
@@ -26,6 +26,7 @@ import org.apache.camel.builder.RouteBui
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.test.junit4.CamelTestSupport;
 
+import org.junit.Ignore;
 import org.junit.Test;
 
 public class HazelcastMultimapConsumerTest extends CamelTestSupport {
@@ -56,9 +57,8 @@ public class HazelcastMultimapConsumerTe
 
     /*
      * mail from talip (hazelcast) on 21.02.2011: MultiMap doesn't support eviction yet. We can and should add this feature.
-     * 
-     * see also http://code.google.com/p/hazelcast/issues/detail?id=577&q=eviction
      */
+    @Ignore("See also http://code.google.com/p/hazelcast/issues/detail?id=577&q=eviction")
     @Test
     public void testEnvict() throws InterruptedException {
         MockEndpoint out = getMockEndpoint("mock:envicted");
@@ -71,7 +71,7 @@ public class HazelcastMultimapConsumerTe
         map.put("5", "my-foo-5");
         map.put("6", "my-foo-6");
 
-        // assertMockEndpointsSatisfied(30000, TimeUnit.MILLISECONDS);
+        assertMockEndpointsSatisfied(30000, TimeUnit.MILLISECONDS);
     }
 
     @Test