gerrit/gerrit-acceptance-tests/tests.bzl
David Ostrovsky 535986ccf2 Bazel: Set slow tests to size="large"
We are seeing timeouts on the CI:

//gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change:rest_change_submit
//TIMEOUT in 305.1s

Increase the time allowed to run the tests to 900 seconds.

Change-Id: Ifa5e67439ab996df50cd498972d936813a6a2c01
2016-11-09 21:15:20 +01:00

27 lines
509 B
Python

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