Skip to content

Commit a9c0c5a

Browse files
authored
Skip TestLoopbackHostPortIPv6 run on non-IPv6 env
1 parent a28a692 commit a9c0c5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

staging/src/k8s.io/apiserver/pkg/server/config_selfclient_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func TestLoopbackHostPortIPv6(t *testing.T) {
6060
t.Fatalf("fail to enumerate network interface, %s", err)
6161
}
6262
if !ipv6 {
63-
t.Fatalf("no ipv6 loopback interface")
63+
t.Skip("no ipv6 loopback interface")
6464
}
6565

6666
host, port, err := LoopbackHostPort("[ff06:0:0:0:0:0:0:c3]:443")

0 commit comments

Comments
 (0)