summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/tests.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jgit.test/tests.bzl')
-rw-r--r--org.eclipse.jgit.test/tests.bzl6
1 files changed, 5 insertions, 1 deletions
diff --git a/org.eclipse.jgit.test/tests.bzl b/org.eclipse.jgit.test/tests.bzl
index b1b7b7a9de..64dfe071cf 100644
--- a/org.eclipse.jgit.test/tests.bzl
+++ b/org.eclipse.jgit.test/tests.bzl
@@ -42,6 +42,10 @@ def tests(tests):
'//lib:jsch',
]
+ heap_size = "-Xmx256m"
+ if src.endswith("HugeCommitMessageTest.java"):
+ heap_size = "-Xmx512m"
+
junit_tests(
name = name,
tags = labels,
@@ -57,5 +61,5 @@ def tests(tests):
'//org.eclipse.jgit.lfs:jgit-lfs',
],
flaky = flaky,
- jvm_flags = ["-Xmx256m", "-Dfile.encoding=UTF-8"],
+ jvm_flags = [heap_size, "-Dfile.encoding=UTF-8"],
)