mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
ci: change postgres12 listen port (#521)
This commit is contained in:
@@ -68,7 +68,7 @@ func TestMySQL(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestPostgres(t *testing.T) {
|
||||
for version, port := range map[string]int{"10": 5430, "11": 5431, "12": 5432} {
|
||||
for version, port := range map[string]int{"10": 5430, "11": 5431, "12": 5433} {
|
||||
t.Run(version, func(t *testing.T) {
|
||||
client := enttest.Open(t, dialect.Postgres, fmt.Sprintf("host=localhost port=%d user=postgres dbname=test password=pass sslmode=disable", port), opts)
|
||||
defer client.Close()
|
||||
|
||||
Reference in New Issue
Block a user