Files
gerrit/gerrit-acceptance-tests/tests.bzl
Luca Milanesio e7f2497673 Limit JVM Heap to 256m for acceptance tests
Now that threads leaks are resolved, the entire set of
acceptance tests suites can be easily executed with only 256m
of heap.

Limiting the use of heap is good for highlighting memory
leaks regressions and for allowing more parallel tests executions
on the CI environment.

Change-Id: Ie67c58136e3a44eddef0c26079a7ec5355643a4f
2017-04-02 22:44:24 +01:00

24 lines
446 B
Python

load("//tools/bzl:junit.bzl", "junit_tests")
def acceptance_tests(
group,
deps = [],
labels = [],
vm_args = ['-Xmx256m'],
**kwargs):
junit_tests(
name = group,
deps = deps + [
'//gerrit-acceptance-tests:lib',
"//lib/bouncycastle:bcpkix",
"//lib/bouncycastle:bcpg",
],
tags = labels + [
'acceptance',
'slow',
],
size = "large",
jvm_flags = vm_args,
**kwargs
)