openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mprud...@apache.org
Subject svn commit: r568317 - in /openjpa/branches/1.0.0/openjpa-persistence-jdbc: pom.xml src/test/java/org/apache/openjpa/persistence/test/PersistenceTestCase.java src/test/java/org/apache/openjpa/persistence/test/SingleEMFTestCase.java
Date Tue, 21 Aug 2007 22:52:06 GMT
Author: mprudhom
Date: Tue Aug 21 15:52:05 2007
New Revision: 568317

URL: http://svn.apache.org/viewvc?rev=568317&view=rev
Log:
Specify that the surefire plugin should pass -Xmx500m to the forked tests so we have ample
memory to run all our tests

Modified:
    openjpa/branches/1.0.0/openjpa-persistence-jdbc/pom.xml
    openjpa/branches/1.0.0/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/PersistenceTestCase.java
    openjpa/branches/1.0.0/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/SingleEMFTestCase.java

Modified: openjpa/branches/1.0.0/openjpa-persistence-jdbc/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/branches/1.0.0/openjpa-persistence-jdbc/pom.xml?rev=568317&r1=568316&r2=568317&view=diff
==============================================================================
--- openjpa/branches/1.0.0/openjpa-persistence-jdbc/pom.xml (original)
+++ openjpa/branches/1.0.0/openjpa-persistence-jdbc/pom.xml Tue Aug 21 15:52:05 2007
@@ -60,6 +60,7 @@
                             <groupId>org.apache.maven.plugins</groupId>
                             <artifactId>maven-surefire-plugin</artifactId>
                             <configuration>
+                                <argLine>-Xmx500m</argLine>
                                 <systemProperties>
                                     <property>
                                         <name>openjpa.Log</name>

Modified: openjpa/branches/1.0.0/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/PersistenceTestCase.java
URL: http://svn.apache.org/viewvc/openjpa/branches/1.0.0/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/PersistenceTestCase.java?rev=568317&r1=568316&r2=568317&view=diff
==============================================================================
--- openjpa/branches/1.0.0/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/PersistenceTestCase.java
(original)
+++ openjpa/branches/1.0.0/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/PersistenceTestCase.java
Tue Aug 21 15:52:05 2007
@@ -88,6 +88,10 @@
             createEntityManagerFactory("test", map);
     }
 
+    public void tearDown() throws Exception {
+        super.tearDown();
+    }
+
     /**
      * Safely close the given factory.
      */

Modified: openjpa/branches/1.0.0/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/SingleEMFTestCase.java
URL: http://svn.apache.org/viewvc/openjpa/branches/1.0.0/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/SingleEMFTestCase.java?rev=568317&r1=568316&r2=568317&view=diff
==============================================================================
--- openjpa/branches/1.0.0/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/SingleEMFTestCase.java
(original)
+++ openjpa/branches/1.0.0/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/SingleEMFTestCase.java
Tue Aug 21 15:52:05 2007
@@ -49,7 +49,9 @@
     /**
      * Closes the entity manager factory.
      */
-    public void tearDown() {
+    public void tearDown() throws Exception {
+        super.tearDown();
+
         if (emf == null)
             return;
 



Mime
View raw message