ElasticV6QueryChangesTest: Add deps to fix build
Since commit 53c6c2d
, that class was failing the test build. Add the
missing dependencies to the BUILD file for this V6 case, similar to what
was already done for V7.
Change-Id: I67ffead6daaeeaec19944b89c3e0b9b830d5b593
This commit is contained in:
@@ -31,6 +31,11 @@ ELASTICSEARCH_DEPS = [
|
||||
"//lib/jgit/org.eclipse.jgit:jgit",
|
||||
]
|
||||
|
||||
HTTP_TEST_DEPS = [
|
||||
"//lib/httpcomponents:httpasyncclient",
|
||||
"//lib/httpcomponents:httpclient",
|
||||
]
|
||||
|
||||
QUERY_TESTS_DEP = "//javatests/com/google/gerrit/server/query/%s:abstract_query_tests"
|
||||
|
||||
TYPES = [
|
||||
@@ -67,7 +72,7 @@ ELASTICSEARCH_TAGS = [
|
||||
size = "large",
|
||||
srcs = [src],
|
||||
tags = ELASTICSEARCH_TAGS,
|
||||
deps = ELASTICSEARCH_DEPS + [QUERY_TESTS_DEP % name],
|
||||
deps = ELASTICSEARCH_DEPS + [QUERY_TESTS_DEP % name] + HTTP_TEST_DEPS,
|
||||
) for name, src in ELASTICSEARCH_TESTS_V6.items()]
|
||||
|
||||
[junit_tests(
|
||||
@@ -75,10 +80,7 @@ ELASTICSEARCH_TAGS = [
|
||||
size = "large",
|
||||
srcs = [src],
|
||||
tags = ELASTICSEARCH_TAGS,
|
||||
deps = ELASTICSEARCH_DEPS + [QUERY_TESTS_DEP % name] + [
|
||||
"//lib/httpcomponents:httpasyncclient",
|
||||
"//lib/httpcomponents:httpclient",
|
||||
],
|
||||
deps = ELASTICSEARCH_DEPS + [QUERY_TESTS_DEP % name] + HTTP_TEST_DEPS,
|
||||
) for name, src in ELASTICSEARCH_TESTS_V7.items()]
|
||||
|
||||
junit_tests(
|
||||
|
Reference in New Issue
Block a user