Skip to content

Commit

Permalink
Merge pull request volcano-sh#32 from lminzhw/scheduler_name
Browse files Browse the repository at this point in the history
change SchedulerName kube-batch to volcano
  • Loading branch information
volcano-sh-bot committed Jun 24, 2019
2 parents e191179 + 5ea192c commit c93ffa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/scheduler/cache/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand All @@ -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 {
Expand Down

0 comments on commit c93ffa9

Please sign in to comment.