From bae75f056877afe6be86b6ad1b6858671cf9927d Mon Sep 17 00:00:00 2001 From: Kubernetes Publisher Date: Fri, 22 Sep 2017 11:22:07 +0000 Subject: [PATCH] fix the webhook unit test; the server cert needs to have a valid CN; fix a fuzzer; Kubernetes-commit: 856a1db57a05e19ea6261e38211d2ab1bf864dd1 --- rest/config_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rest/config_test.go b/rest/config_test.go index f20ed722..ff851e6a 100644 --- a/rest/config_test.go +++ b/rest/config_test.go @@ -18,6 +18,7 @@ package rest import ( "io" + "net" "net/http" "path/filepath" "reflect" @@ -236,6 +237,8 @@ func TestAnonymousConfig(t *testing.T) { func(r *clientcmdapi.AuthProviderConfig, f fuzz.Continue) { r.Config = map[string]string{} }, + // Dial does not require fuzzer + func(r *func(network, addr string) (net.Conn, error), f fuzz.Continue) {}, ) for i := 0; i < 20; i++ { original := &Config{}