From 5ea192cb37fec586acc3736c6d3d882c323efb2d Mon Sep 17 00:00:00 2001 From: wangyuqing4 Date: Thu, 20 Jun 2019 14:04:05 +0800 Subject: [PATCH] change SchedulerName kube-batch to volcano --- pkg/scheduler/cache/cache_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/scheduler/cache/cache_test.go b/pkg/scheduler/cache/cache_test.go index 7797e493e5..75d5652e7f 100644 --- a/pkg/scheduler/cache/cache_test.go +++ b/pkg/scheduler/cache/cache_test.go @@ -269,7 +269,7 @@ func TestGetOrCreateJob(t *testing.T) { pod2 := buildPod("c1", "p2", "n1", v1.PodRunning, buildResourceList("1000m", "1G"), []metav1.OwnerReference{owner2}, make(map[string]string)) - pod2.Spec.SchedulerName = "kube-batch" + pod2.Spec.SchedulerName = "volcano" pi2 := api.NewTaskInfo(pod2) pod3 := buildPod("c3", "p3", "n1", v1.PodRunning, buildResourceList("1000m", "1G"), @@ -279,7 +279,7 @@ func TestGetOrCreateJob(t *testing.T) { cache := &SchedulerCache{ Nodes: make(map[string]*api.NodeInfo), Jobs: make(map[api.JobID]*api.JobInfo), - schedulerName: "kube-batch", + schedulerName: "volcano", } tests := []struct {