Skip to content

Commit

Permalink
test: add more tests to scheduler framework (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelawyu authored Jul 14, 2023
1 parent 3f37a3a commit 762a4bc
Show file tree
Hide file tree
Showing 3 changed files with 459 additions and 37 deletions.
5 changes: 1 addition & 4 deletions pkg/scheduler/framework/framework.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,7 @@ type framework struct {
// maxUnselectedClusterDecisionCount controls the maximum number of decisions for unselected clusters
// added to the policy snapshot status.
//
// Note that all picked clusters will always have their associated decisions written to the status;
// when the number of picked clusters is below this limit, the scheduler will use the
// remaining slots to fill up the status with explanations on why a specific cluster is not picked
// by scheduler (if applicable), so that user are better informed on how the scheduler functions.
// Note that all picked clusters will always have their associated decisions written to the status.
maxUnselectedClusterDecisionCount int
}

Expand Down
Loading

0 comments on commit 762a4bc

Please sign in to comment.