mirror of
https://github.com/valyala/fasthttp.git
synced 2026-06-14 15:56:44 +03:00
an attempt to fix TestTCP6 on travis. It looks like travis doesnt know about ip6-localhost. Substitute it with [::1]
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user