From 1c29c17067dfd6b74ae7b7291c9cef7c5789c558 Mon Sep 17 00:00:00 2001 From: Mateen Anjum Date: Fri, 29 May 2026 03:38:29 -0400 Subject: [PATCH] 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 --- CHANGELOG.md | 2 ++ pkg/proxyhttp/server_test.go | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 320ba697..88809020 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/pkg/proxyhttp/server_test.go b/pkg/proxyhttp/server_test.go index f6d12436..38347f73 100644 --- a/pkg/proxyhttp/server_test.go +++ b/pkg/proxyhttp/server_test.go @@ -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{