diff --git a/plugin/pkg/scheduler/core/BUILD b/plugin/pkg/scheduler/core/BUILD index 39268b96a5a..60d7cde6902 100644 --- a/plugin/pkg/scheduler/core/BUILD +++ b/plugin/pkg/scheduler/core/BUILD @@ -45,6 +45,7 @@ go_library( ], importpath = "k8s.io/kubernetes/plugin/pkg/scheduler/core", deps = [ + "//pkg/api/v1/pod:go_default_library", "//pkg/util/hash:go_default_library", "//plugin/pkg/scheduler/algorithm:go_default_library", "//plugin/pkg/scheduler/algorithm/predicates:go_default_library", diff --git a/test/integration/scheduler/BUILD b/test/integration/scheduler/BUILD index 706c2d6f0c7..ce0f9874c47 100644 --- a/test/integration/scheduler/BUILD +++ b/test/integration/scheduler/BUILD @@ -13,6 +13,7 @@ go_test( "extender_test.go", "main_test.go", "predicates_test.go", + "preemption_test.go", "priorities_test.go", "scheduler_test.go", "taint_test.go", @@ -43,6 +44,7 @@ go_test( "//test/e2e/framework:go_default_library", "//test/integration/framework:go_default_library", "//test/utils:go_default_library", + "//vendor/github.com/golang/glog:go_default_library", "//vendor/k8s.io/api/core/v1:go_default_library", "//vendor/k8s.io/api/policy/v1beta1:go_default_library", "//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library", @@ -82,7 +84,7 @@ go_library( importpath = "k8s.io/kubernetes/test/integration/scheduler", deps = [ "//pkg/api/legacyscheme:go_default_library", - "//pkg/api/testapi:go_default_library", + "//pkg/api/v1/pod:go_default_library", "//plugin/pkg/scheduler:go_default_library", "//plugin/pkg/scheduler/algorithmprovider:go_default_library", "//plugin/pkg/scheduler/factory:go_default_library",