aboutsummaryrefslogtreecommitdiff
path: root/reuseport
diff options
context:
space:
mode:
authorGravatar Aliaksandr Valialkin <valyala@gmail.com> 2017-11-08 14:10:58 +0200
committerGravatar Aliaksandr Valialkin <valyala@gmail.com> 2017-11-08 14:10:58 +0200
commitcb0855b7a42bb1cb4c110773a2bf67edc1b50ab9 (patch)
treee48e5f76f266ead835ad3cdf126ccd18a6e92da8 /reuseport
parentUpdate go version to 1.9.x and 1.8.x for travis builds (diff)
downloadfasthttp-cb0855b7a42bb1cb4c110773a2bf67edc1b50ab9.tar.gz
fasthttp-cb0855b7a42bb1cb4c110773a2bf67edc1b50ab9.tar.bz2
fasthttp-cb0855b7a42bb1cb4c110773a2bf67edc1b50ab9.zip
an attempt to fix TestTCP6 on travis. It looks like travis doesnt know about `ip6-localhost`. Substitute it with [::1]
Diffstat (limited to 'reuseport')
-rw-r--r--reuseport/reuseport_test.go2
1 files changed, 1 insertions, 1 deletions
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) {