Files
gerrit/lib/testcontainers
Marco Miller 0471d0cad4 Upgrade testcontainers to 1.15.0
Add the transitive docker-java and jackson-annotations elastic tests
dependencies resulting from this upgrade.

Fix the related "compatible substitute" issue in ElasticContainer.
Without this companion fix, this change fails its tests because of this:

"(...) org.junit.AssumptionViolatedException: Unable to start container
(...) Caused by: java.lang.IllegalStateException:
Failed to verify that image 'blacktop/elasticsearch:6.8.9' is a
compatible substitute for 'docker.elastic.co/elasticsearch/elasticsearch'.

This generally means that you are trying to use an image that
Testcontainers has not been designed to use. If this is deliberate, and
if you are confident that the image is compatible, you should declare
compatibility in code using the `asCompatibleSubstituteFor` method.

For example: DockerImageName myImage =
DockerImageName.parse("blacktop/elasticsearch:6.8.9")
.asCompatibleSubstituteFor("docker.elastic.co/elasticsearch/elasticsearch");
and then use `myImage` instead."

Bug: Issue 13474
Change-Id: Ifc3e5b51cc0564262d231f3ef4b753891335e974
2020-11-17 14:17:01 -05:00
..
2020-11-17 14:17:01 -05:00