Pin RabbitMQ and Cassandra docker image versions (#12174)

* Work around rabbitmq regression with UserInfo.Tags in rabbitmq 3.9: use v3.8 docker image in tests.

* Also pin cassandra docker image version to 3.11 (4.00 was making tests fail)
This commit is contained in:
Nick Cabatoff
2021-07-27 14:45:32 +02:00
committed by GitHub
parent 2573cc3230
commit a83a629ae2
2 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ import (
func getCassandra(t *testing.T, protocolVersion interface{}) (*Cassandra, func()) {
host, cleanup := cassandra.PrepareTestContainer(t,
cassandra.Version("latest"),
cassandra.Version("3.11"),
cassandra.CopyFromTo(insecureFileMounts),
)
@@ -139,7 +139,7 @@ func TestCreateUser(t *testing.T) {
for name, test := range tests {
t.Run(name, func(t *testing.T) {
host, cleanup := cassandra.PrepareTestContainer(t,
cassandra.Version("latest"),
cassandra.Version("3.11"),
cassandra.CopyFromTo(insecureFileMounts),
)
defer cleanup()