Skips IPv6 test in Travis.

This commit is contained in:
James Phillips 2017-11-08 18:28:45 -08:00
parent c52824bab7
commit 04a7907a7e
No known key found for this signature in database
GPG Key ID: 77183E682AC5FC11
1 changed files with 3 additions and 0 deletions

View File

@ -513,6 +513,9 @@ func TestCheckTCPPassing(t *testing.T) {
expectTCPStatus(t, tcpServer.Addr().String(), api.HealthPassing) expectTCPStatus(t, tcpServer.Addr().String(), api.HealthPassing)
tcpServer.Close() tcpServer.Close()
if os.Getenv("TRAVIS") == "true" {
t.Skip("IPV6 not supported on travis-ci")
}
tcpServer = mockTCPServer(`tcp6`) tcpServer = mockTCPServer(`tcp6`)
expectTCPStatus(t, tcpServer.Addr().String(), api.HealthPassing) expectTCPStatus(t, tcpServer.Addr().String(), api.HealthPassing)
tcpServer.Close() tcpServer.Close()