jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1574431 - in /jackrabbit/oak/trunk: oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/random/RandomizedReadTest.java oak-parent/pom.xml
Date Wed, 05 Mar 2014 11:13:46 GMT
Author: mduerig
Date: Wed Mar  5 11:13:45 2014
New Revision: 1574431

URL: http://svn.apache.org/r1574431
Log:
OAK-1291: RandomizedReadTest fails with OutOfMemoryError: PermGen space
Increasing PermGen to 64M

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/random/RandomizedReadTest.java
    jackrabbit/oak/trunk/oak-parent/pom.xml

Modified: jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/random/RandomizedReadTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/random/RandomizedReadTest.java?rev=1574431&r1=1574430&r2=1574431&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/random/RandomizedReadTest.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/random/RandomizedReadTest.java
Wed Mar  5 11:13:45 2014
@@ -19,6 +19,7 @@ package org.apache.jackrabbit.oak.jcr.ra
 
 import java.security.Principal;
 import java.util.Random;
+
 import javax.jcr.Node;
 import javax.jcr.PathNotFoundException;
 import javax.jcr.Session;
@@ -33,10 +34,8 @@ import org.apache.jackrabbit.api.securit
 import org.apache.jackrabbit.commons.jackrabbit.authorization.AccessControlUtils;
 import org.apache.jackrabbit.oak.spi.security.privilege.PrivilegeConstants;
 import org.junit.Assert;
-import org.junit.Ignore;
 import org.junit.Test;
 
-@Ignore // FIXME
 public class RandomizedReadTest extends AbstractRandomizedTest {
 
     private static final int depth = 4;
@@ -54,6 +53,7 @@ public class RandomizedReadTest extends 
         tree.put(3, 3, "/n1/n3/n9");
     }
 
+    @Override
     protected void setupContent() throws Exception {
         for (JackrabbitSession session : writeSessions) {
             Node root = session.getRootNode();
@@ -77,6 +77,7 @@ public class RandomizedReadTest extends 
         }
     }
 
+    @Override
     protected void clearContent() throws Exception {
         for (JackrabbitSession session : writeSessions) {
             Node root = session.getRootNode();
@@ -129,7 +130,7 @@ public class RandomizedReadTest extends 
         }
     }
 
-    private String getPath(int depth, int index) throws Exception {
+    private static String getPath(int depth, int index) throws Exception {
         if (depth == 0) {
             return "/";
         }

Modified: jackrabbit/oak/trunk/oak-parent/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-parent/pom.xml?rev=1574431&r1=1574430&r2=1574431&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-parent/pom.xml (original)
+++ jackrabbit/oak/trunk/oak-parent/pom.xml Wed Mar  5 11:13:45 2014
@@ -34,7 +34,7 @@
   <packaging>pom</packaging>
 
   <properties>
-    <test.opts>-Xmx512m -XX:MaxPermSize=48m -XX:+HeapDumpOnOutOfMemoryError -Dupdate.limit=100
-Djava.awt.headless=true</test.opts>
+    <test.opts>-Xmx512m -XX:MaxPermSize=64m -XX:+HeapDumpOnOutOfMemoryError -Dupdate.limit=100
-Djava.awt.headless=true</test.opts>
     <skip.deployment>false</skip.deployment>
     <known.issues />
     <project.reporting.outputEncoding>



Mime
View raw message