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:

committed by
David Pursehouse

parent
8b7e50a6ae
commit
b241d1379f
@@ -18,6 +18,7 @@ acceptance_tests(
|
|||||||
labels = [
|
labels = [
|
||||||
"docker",
|
"docker",
|
||||||
"elastic",
|
"elastic",
|
||||||
|
"exclusive",
|
||||||
"pgm",
|
"pgm",
|
||||||
],
|
],
|
||||||
deps = [":util"],
|
deps = [":util"],
|
||||||
|
@@ -24,8 +24,9 @@ acceptance_tests(
|
|||||||
srcs = ["ElasticIndexIT.java"],
|
srcs = ["ElasticIndexIT.java"],
|
||||||
group = "elastic",
|
group = "elastic",
|
||||||
labels = [
|
labels = [
|
||||||
"elastic",
|
|
||||||
"docker",
|
"docker",
|
||||||
|
"elastic",
|
||||||
|
"exclusive",
|
||||||
"ssh",
|
"ssh",
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
|
@@ -78,6 +78,7 @@ ELASTICSEARCH_TESTS_V6 = {i: "src/test/java/com/google/gerrit/elasticsearch/Elas
|
|||||||
ELASTICSEARCH_TAGS = [
|
ELASTICSEARCH_TAGS = [
|
||||||
"docker",
|
"docker",
|
||||||
"elastic",
|
"elastic",
|
||||||
|
"exclusive",
|
||||||
]
|
]
|
||||||
|
|
||||||
[junit_tests(
|
[junit_tests(
|
||||||
|
Reference in New Issue
Block a user