Skip TestLoopbackHostPortIPv6 run on non-IPv6 env

Kubernetes-commit: a9c0c5a9de80bc2f1c88f049a19fcbcff285c245
This commit is contained in:
Manjunath Kumatagi 2020-08-31 23:20:49 +05:30 committed by Kubernetes Publisher
parent 1b34be40d3
commit 9e91e826fe
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ func TestLoopbackHostPortIPv6(t *testing.T) {
t.Fatalf("fail to enumerate network interface, %s", err)
}
if !ipv6 {
t.Fatalf("no ipv6 loopback interface")
t.Skip("no ipv6 loopback interface")
}
host, port, err := LoopbackHostPort("[ff06:0:0:0:0:0:0:c3]:443")