From cb0855b7a42bb1cb4c110773a2bf67edc1b50ab9 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 8 Nov 2017 14:10:58 +0200 Subject: [PATCH] an attempt to fix TestTCP6 on travis. It looks like travis doesnt know about `ip6-localhost`. Substitute it with [::1] --- reuseport/reuseport_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reuseport/reuseport_test.go b/reuseport/reuseport_test.go index d2381d6..ef26b58 100644 --- a/reuseport/reuseport_test.go +++ b/reuseport/reuseport_test.go @@ -13,7 +13,7 @@ func TestTCP4(t *testing.T) { } func TestTCP6(t *testing.T) { - testNewListener(t, "tcp6", "ip6-localhost:10081", 20, 1000) + testNewListener(t, "tcp6", "[::1]:10082", 20, 1000) } func testNewListener(t *testing.T, network, addr string, serversCount, requestsCount int) {