skip TestCheckTCPPassing on CircleCI

This commit is contained in:
Alvin Huang 2019-02-21 18:47:19 -05:00
parent 360e3acc7c
commit 6c9b516a29
1 changed files with 3 additions and 0 deletions

View File

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