aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2010-08-27 00:26:25 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2010-08-27 00:29:31 +0200
commitc869f187b754c6364a0ecf1f02e30e52b08ddeb1 (patch)
tree42e3b8de9e873417aee26e35c61aadf68f02f31f /org.eclipse.jgit.test
parent5817744cf76b425a3ea3ddd967cb13860fe15d27 (diff)
downloadjgit-c869f187b754c6364a0ecf1f02e30e52b08ddeb1.tar.gz
jgit-c869f187b754c6364a0ecf1f02e30e52b08ddeb1.zip
Increase heap size for jgit tests
Otherwise PackFileTest.testDelta_LargeObjectChain() reproducibly fails with OutOfMemoryError on Mac OS X 10.6.4. Change-Id: I6a55ff9ba181102606a0d99ffd52392a1615a422 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.test')
-rw-r--r--org.eclipse.jgit.test/org.eclipse.jgit.core--All-Tests (Java 6).launch1
-rw-r--r--org.eclipse.jgit.test/pom.xml2
2 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.jgit.test/org.eclipse.jgit.core--All-Tests (Java 6).launch b/org.eclipse.jgit.test/org.eclipse.jgit.core--All-Tests (Java 6).launch
index 1fa4b8fd53..f253d592f4 100644
--- a/org.eclipse.jgit.test/org.eclipse.jgit.core--All-Tests (Java 6).launch
+++ b/org.eclipse.jgit.test/org.eclipse.jgit.core--All-Tests (Java 6).launch
@@ -18,4 +18,5 @@
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value=""/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.jgit.test"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx256m"/>
</launchConfiguration>
diff --git a/org.eclipse.jgit.test/pom.xml b/org.eclipse.jgit.test/pom.xml
index 892755957f..5a1f9e2219 100644
--- a/org.eclipse.jgit.test/pom.xml
+++ b/org.eclipse.jgit.test/pom.xml
@@ -126,7 +126,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.2</version>
<configuration>
- <argLine>-Dfile.encoding=UTF-8</argLine>
+ <argLine>-Xmx256m -Dfile.encoding=UTF-8</argLine>
<includes>
<include>**/*Test.java</include>
<include>**/*TestCase.java</include>