mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Merge pull request #115903 from yoongon/feature/fit-calculation-typo
Fix typo at most_allocated_test.go
This commit is contained in:
commit
572804c93d
@ -154,7 +154,7 @@ func TestMostAllocatedScoringStrategy(t *testing.T) {
|
||||
// Node1 Score: (100 + 90) / 2 = 95
|
||||
// Node2 scores on 0-MaxNodeScore scale
|
||||
// CPU Score: (5000 * MaxNodeScore) / 10000 = 50
|
||||
// Memory Score: 8000 *MaxNodeScore / 8000 return 100
|
||||
// Memory Score: 9000 * MaxNodeScore / 9000 return 100
|
||||
// Node2 Score: (50 + 100) / 2 = 75
|
||||
name: "resources requested equal node capacity",
|
||||
requestedPod: st.MakePod().
|
||||
|
Loading…
Reference in New Issue
Block a user