camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1161082 - in /camel/trunk/components/camel-testng: pom.xml src/test/java/org/apache/camel/testng/patterns/FilterCreateCamelContextPerClassTest.java
Date Wed, 24 Aug 2011 13:06:27 GMT
Author: ningjiang
Date: Wed Aug 24 13:06:26 2011
New Revision: 1161082

URL: http://svn.apache.org/viewvc?rev=1161082&view=rev
Log:
CAMEL-4375 Fixed the configure issue of FilterCreateCamelContextPerClassTest

Modified:
    camel/trunk/components/camel-testng/pom.xml
    camel/trunk/components/camel-testng/src/test/java/org/apache/camel/testng/patterns/FilterCreateCamelContextPerClassTest.java

Modified: camel/trunk/components/camel-testng/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-testng/pom.xml?rev=1161082&r1=1161081&r2=1161082&view=diff
==============================================================================
--- camel/trunk/components/camel-testng/pom.xml (original)
+++ camel/trunk/components/camel-testng/pom.xml Wed Aug 24 13:06:26 2011
@@ -59,4 +59,23 @@
 
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <forkMode>pertest</forkMode>
+                    <childDelegation>false</childDelegation>
+                    <useFile>true</useFile>
+                    <failIfNoTests>false</failIfNoTests>
+                    <runOrder>alphabetical</runOrder>
+                    <includes>
+                        <include>**/*Test.java</include>
+                    </includes>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>

Modified: camel/trunk/components/camel-testng/src/test/java/org/apache/camel/testng/patterns/FilterCreateCamelContextPerClassTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-testng/src/test/java/org/apache/camel/testng/patterns/FilterCreateCamelContextPerClassTest.java?rev=1161082&r1=1161081&r2=1161082&view=diff
==============================================================================
--- camel/trunk/components/camel-testng/src/test/java/org/apache/camel/testng/patterns/FilterCreateCamelContextPerClassTest.java
(original)
+++ camel/trunk/components/camel-testng/src/test/java/org/apache/camel/testng/patterns/FilterCreateCamelContextPerClassTest.java
Wed Aug 24 13:06:26 2011
@@ -42,7 +42,7 @@ public class FilterCreateCamelContextPer
         // we override this method and return true, to tell Camel test-kit that
         // it should only create CamelContext once (per class), so we will
         // re-use the CamelContext between each test method in this class
-        return false;
+        return true;
     }
 
     @Test



Mime
View raw message