mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-11 04:05:10 +02:00
adjust ipv6 tests
This commit is contained in:
parent
de7aa879a8
commit
a0700b30ca
1 changed files with 2 additions and 2 deletions
|
@ -163,9 +163,9 @@ func Test_getPostgreSQLEngineGroupConnectionStrings(t *testing.T) {
|
|||
passwd: "ipv6pass",
|
||||
name: "ipv6db",
|
||||
sslmode: "disable",
|
||||
outputPrimary: "postgres://ipv6:ipv6pass@::1:1234/ipv6db?sslmode=disable",
|
||||
outputPrimary: "postgres://ipv6:ipv6pass@[::1]:1234/ipv6db?sslmode=disable",
|
||||
outputReplicas: []string{
|
||||
"postgres://ipv6:ipv6pass@::2:2345/ipv6db?sslmode=disable",
|
||||
"postgres://ipv6:ipv6pass@[::2]:2345/ipv6db?sslmode=disable",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue