diff options
author | Aliaksandr Valialkin <valyala@gmail.com> | 2017-11-08 14:10:58 +0200 |
---|---|---|
committer | Aliaksandr Valialkin <valyala@gmail.com> | 2017-11-08 14:10:58 +0200 |
commit | cb0855b7a42bb1cb4c110773a2bf67edc1b50ab9 (patch) | |
tree | e48e5f76f266ead835ad3cdf126ccd18a6e92da8 /reuseport | |
parent | Update go version to 1.9.x and 1.8.x for travis builds (diff) | |
download | fasthttp-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.go | 2 |
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) { |