mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 18:58:18 +00:00
Install APIs directly for tests
This commit is contained in:
@@ -35,8 +35,8 @@ import (
|
||||
api "k8s.io/kubernetes/pkg/apis/core"
|
||||
"k8s.io/kubernetes/pkg/kubelet/client"
|
||||
|
||||
// install all api groups for testing
|
||||
_ "k8s.io/kubernetes/pkg/api/testapi"
|
||||
// ensure types are installed
|
||||
_ "k8s.io/kubernetes/pkg/apis/core/install"
|
||||
)
|
||||
|
||||
func TestMatchPod(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user