test: pin docker image on postgres to 13.4-buster (#12636)

* test: pin docker image on postgres to 13.4-buster

* test: update all tests that uses postgres image to use 13.4-buster
This commit is contained in:
Calvin Leung Huang
2021-09-27 08:38:39 -07:00
committed by GitHub
parent 20a0ad3508
commit 8c9d93b852
3 changed files with 9 additions and 9 deletions

View File

@@ -16,7 +16,7 @@ import (
)
func getPostgreSQL(t *testing.T, options map[string]interface{}) (*PostgreSQL, func()) {
cleanup, connURL := postgresql.PrepareTestContainer(t, "latest")
cleanup, connURL := postgresql.PrepareTestContainer(t, "13.4-buster")
connectionDetails := map[string]interface{}{
"connection_url": connURL,
@@ -867,7 +867,7 @@ func TestUsernameGeneration(t *testing.T) {
}
func TestNewUser_CustomUsername(t *testing.T) {
cleanup, connURL := postgresql.PrepareTestContainer(t, "latest")
cleanup, connURL := postgresql.PrepareTestContainer(t, "13.4-buster")
defer cleanup()
type testCase struct {