Skip to content

Commit

Permalink
Applied root queue max res constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
manirajv06 committed Aug 23, 2024
1 parent 5196313 commit 2dee480
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/e2e/preemption/preemption_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ var _ = ginkgo.Describe("Preemption", func() {
sc.Partitions[0].PlacementRules = nil

var err error
sc.Partitions[0].Queues[0].Resources = configs.Resources{Max: map[string]string{"memory": fmt.Sprintf("%dM", 3*WorkerMemRes)}}
if err = common.AddQueue(sc, "default", "root", configs.QueueConfig{
Name: "sandbox1",
Resources: configs.Resources{Guaranteed: map[string]string{"memory": fmt.Sprintf("%dM", WorkerMemRes)}},
Expand Down

0 comments on commit 2dee480

Please sign in to comment.