mirror of https://github.com/status-im/consul.git
Skips IPv6 test in Travis.
This commit is contained in:
parent
2937656f8e
commit
8579225c27
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue