pkg/test/docker: force the MySQL version to 5

Since we don't support the latest MySQL version, our tests in Travis CI
are failing since they pull the latest docker image.

We should fix the issue
(https://github.com/perkeep/perkeep/issues/1114), but in the meantime,
we might as well restrict the tests to MySQL 5, so that CI tests keep on
being useful to alert us about other errors.

Change-Id: I32a2cc1dc5a4194c891183d96498dee14c759baf
This commit is contained in:
mpl 2018-04-24 19:45:19 -07:00
parent 03b0ab4601
commit 7247d11107
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ func setupContainer(t *testing.T, image string, port int, timeout time.Duration,
const (
mongoImage = "mpl7/mongo"
mysqlImage = "mysql"
mysqlImage = "mysql:5"
MySQLUsername = "root"
MySQLPassword = "root"
postgresImage = "nornagon/postgres"