Pin to a tagged selenium docker image

The latest version of the selenium/standalone-chrome docker image appears to
be out of sync with the API that we're using and there is no more recent
version of the API available in maven central.

This change pins us to the earlier version and fixes our CI build.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=245286532
This commit is contained in:
mmuller 2019-04-25 12:34:13 -07:00 committed by jianglai
parent fbb60df019
commit 83e93b87a5

View file

@ -40,7 +40,7 @@ class DockerWebDriverRule extends ExternalResource {
private static URL getWebDriverUrl() {
GenericContainer container =
new GenericContainer("selenium/standalone-chrome")
new GenericContainer("selenium/standalone-chrome:3.141.59-mercury")
.withFileSystemBind("/dev/shm", "/dev/shm", BindMode.READ_WRITE)
.withExposedPorts(CHROME_DRIVER_SERVICE_PORT)
.waitingFor(Wait.forHttp("/").withStartupTimeout(Duration.of(20, ChronoUnit.SECONDS)));