Elasticsearch: run no other test at the same time

As per Bazel test documentation [1] that is: run all the Elasticsearch
docker tests with the 'exclusive' tag set in. Do so to minimize the
slower execution speed factor, thus running them tests in a more natural
fashion. Doing so should then minimize flakiness or only leave true
failures to be fixed. -Actual test execution speeds depending on the
running host resources, of course.

[1] https://docs.bazel.build/versions/master/test-encyclopedia.html

Bug: Issue 9407
Change-Id: Ic9b57b84d06921abab91de57ecd4b86bcfb4272a
This commit is contained in:
Marco Miller 2018-07-10 11:36:14 -04:00 committed by David Pursehouse
parent 8b7e50a6ae
commit b241d1379f
3 changed files with 4 additions and 1 deletions

View File

@ -18,6 +18,7 @@ acceptance_tests(
labels = [
"docker",
"elastic",
"exclusive",
"pgm",
],
deps = [":util"],

View File

@ -24,8 +24,9 @@ acceptance_tests(
srcs = ["ElasticIndexIT.java"],
group = "elastic",
labels = [
"elastic",
"docker",
"elastic",
"exclusive",
"ssh",
],
deps = [

View File

@ -78,6 +78,7 @@ ELASTICSEARCH_TESTS_V6 = {i: "src/test/java/com/google/gerrit/elasticsearch/Elas
ELASTICSEARCH_TAGS = [
"docker",
"elastic",
"exclusive",
]
[junit_tests(