fix: skip the invalid fd IPv6 bind test in DevContainer environments

The "invalid fd IPv6 bind address" table entry binds [::1]:0 but was
missing ipv6: true, so skipDevContainer never ran for it and the test
failed with "bind: cannot assign requested address" under DEVCONTAINER=1
on hosts without IPv6. Mark it ipv6 like its sibling "valid fd IPv6 bind
address" entry so the guard skips it.

Signed-off-by: Mateen Anjum <mateenali66@gmail.com>
This commit is contained in:
Mateen Anjum 2026-05-29 03:38:29 -04:00
parent 65037b086c
commit 1c29c17067
No known key found for this signature in database
GPG Key ID: C8F3C7DA9ED10BE9
2 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,8 @@
## Changes since v7.15.2
- [#3442](https://github.com/oauth2-proxy/oauth2-proxy/pull/3442) fix: skip the invalid fd IPv6 bind test in DevContainer environments (@mateenali66)
# V7.15.2
## Release Highlights

View File

@ -394,6 +394,7 @@ var _ = Describe("Server", func() {
expectHTTPListener: true,
expectTLSListener: false,
fdAddr: "[::1]:0",
ipv6: true,
}),
Entry("with an ipv6 valid http bind address", &newServerTableInput{
opts: Opts{