add a fuzz function for expapi.APIVersion

This commit is contained in:
Chao Xu
2015-08-24 14:41:02 -07:00
parent 9eb0970bdb
commit fc9c2ddf0c
2 changed files with 9 additions and 4 deletions

View File

@@ -32,9 +32,8 @@ import (
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/util"
// TODO: enable when exapi problems are fixed #13083
//_ "k8s.io/kubernetes/pkg/expapi"
//_ "k8s.io/kubernetes/pkg/expapi/v1"
_ "k8s.io/kubernetes/pkg/expapi"
_ "k8s.io/kubernetes/pkg/expapi/v1"
flag "github.com/spf13/pflag"
)
@@ -125,7 +124,7 @@ func TestList(t *testing.T) {
roundTripSame(t, item)
}
var nonRoundTrippableTypes = util.NewStringSet("ThirdPartyResource")
var nonRoundTrippableTypes = util.NewStringSet()
var nonInternalRoundTrippableTypes = util.NewStringSet("List", "ListOptions", "PodExecOptions", "PodAttachOptions")
var nonRoundTrippableTypesByVersion = map[string][]string{}