Files
gerrit/lib/testcontainers/BUILD
David Pursehouse cb631bbdca Merge branch 'stable-2.15' into stable-2.16
* stable-2.15:
  Fix invalid json example in POST access endpoint (remove array)
  ElasticV7QueryChangesTest: Close indices after test
  Upgrade Testcontainers to 1.10.2 and use ElasticsearchContainer

Adapt ElasticV{5,6,7}QueryProjectsTest accordingly, as these are only
implemented starting with stable-2.16.

Change-Id: I0666decbeda54cae6e59f7bba0caaaf5550f4318
2018-12-05 16:20:12 +00:00

47 lines
1.1 KiB
Python

java_library(
name = "duct-tape",
testonly = True,
data = ["//lib:LICENSE-testcontainers"],
visibility = ["//visibility:public"],
exports = ["@duct-tape//jar"],
)
java_library(
name = "visible-assertions",
testonly = True,
data = ["//lib:LICENSE-testcontainers"],
visibility = ["//visibility:public"],
exports = ["@visible-assertions//jar"],
)
java_library(
name = "jna",
testonly = True,
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = ["@jna//jar"],
)
java_library(
name = "testcontainers",
testonly = True,
data = ["//lib:LICENSE-testcontainers"],
visibility = ["//visibility:public"],
exports = ["@testcontainers//jar"],
runtime_deps = [
":duct-tape",
":jna",
":visible-assertions",
"//lib/log:ext",
],
)
java_library(
name = "testcontainers-elasticsearch",
testonly = 1,
data = ["//lib:LICENSE-testcontainers"],
visibility = ["//visibility:public"],
exports = ["@testcontainers-elasticsearch//jar"],
runtime_deps = [":testcontainers"],
)