summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-05-13 14:15:31 -0600
committermo khan <mo@mokhan.ca>2025-05-13 14:15:31 -0600
commit294ab5fc60b2a9550b78a452fd40d489f90485d6 (patch)
tree3dec2ca8e11b26370489f8e147dc59e264128d37 /test
parente73e2542b26916eba89f62132efd1bd151f88c9b (diff)
test: try binding to an ipv4 loopback address/port
Diffstat (limited to 'test')
-rw-r--r--test/integration/oidc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/oidc.go b/test/integration/oidc.go
index eeaf8ea..35653ef 100644
--- a/test/integration/oidc.go
+++ b/test/integration/oidc.go
@@ -20,7 +20,7 @@ func NewOIDCTestServer(t *testing.T) *mockoidc.MockOIDC {
})
})
- ln, err := net.Listen("tcp", "127.0.0.1:0")
+ ln, err := net.Listen("tcp4", "0.0.0.0:0")
require.NoError(t, err)
require.NoError(t, srv.Start(ln, nil))
return srv