From 8579225c27d028e93f625e7e314a69e15892938d Mon Sep 17 00:00:00 2001 From: James Phillips Date: Wed, 8 Nov 2017 18:28:45 -0800 Subject: [PATCH] Skips IPv6 test in Travis. --- agent/checks/check_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/agent/checks/check_test.go b/agent/checks/check_test.go index 1d2e1f3a36..0a559c51e3 100644 --- a/agent/checks/check_test.go +++ b/agent/checks/check_test.go @@ -513,6 +513,9 @@ func TestCheckTCPPassing(t *testing.T) { expectTCPStatus(t, tcpServer.Addr().String(), api.HealthPassing) tcpServer.Close() + if os.Getenv("TRAVIS") == "true" { + t.Skip("IPV6 not supported on travis-ci") + } tcpServer = mockTCPServer(`tcp6`) expectTCPStatus(t, tcpServer.Addr().String(), api.HealthPassing) tcpServer.Close()