tags 1013554 + ipv6 thanks I've been unable to reproduce this locally, but have also seen instances in the past where the buildds have difficulty running tests that utilize IPv6.
Maybe there's no "ip6-localhost" defined in /etc/hosts when the
package is built? Would it be worth tryin literal IP addresses for
localhost? I tested the following small patch locally and everything
still passes properly for me.
diff --git a/tcplisten_test.go b/tcplisten_test.go
index e7877d6..f2f04b6 100644
--- a/tcplisten_test.go
+++ b/tcplisten_test.go
@@ -37,8 +37,8 @@ func TestConfigBacklog(t *testing.T) {
}
func testConfig(t *testing.T, cfg Config) {
- testConfigV(t, cfg, "tcp4", "localhost:10081")
- testConfigV(t, cfg, "tcp6", "ip6-localhost:10081")
+ testConfigV(t, cfg, "tcp4", "127.0.0.1:10081")
+ testConfigV(t, cfg, "tcp6", "[::1]:10081")
}
func testConfigV(t *testing.T, cfg Config, network, addr string) {
Mathias
signature.asc
Description: This is a digitally signed message part

