diff --git a/pkg/kubelet/cm/cpumanager/cpu_assignment_test.go b/pkg/kubelet/cm/cpumanager/cpu_assignment_test.go index 59059feb0cc..e57351d4890 100644 --- a/pkg/kubelet/cm/cpumanager/cpu_assignment_test.go +++ b/pkg/kubelet/cm/cpumanager/cpu_assignment_test.go @@ -721,22 +721,22 @@ func commonTakeByTopologyExtendedTestCases(t *testing.T) []takeByTopologyExtende mustParseCPUSet(t, "0-7,10-17,20-27,40-47,50-57,60-67"), }, { - "allocate 24 full cores with 8 distributed across the first 3 NUMA nodes (filling the first NUMA node)", + "allocate 24 full cores with 8 distributed across the first 3 NUMA nodes (taking all but 2 from the first NUMA node)", topoDualSocketMultiNumaPerSocketHT, - mustParseCPUSet(t, "2-39,42-79"), + mustParseCPUSet(t, "1-29,32-39,41-69,72-79"), 48, 1, "", - mustParseCPUSet(t, "2-9,10-17,20-27,42-49,50-57,60-67"), + mustParseCPUSet(t, "1-8,10-17,20-27,41-48,50-57,60-67"), }, { - "allocate 24 full cores with 8 distributed across the last 3 NUMA nodes (no room on the first NUMA node to distribute)", + "allocate 24 full cores with 8 distributed across the last 3 NUMA nodes (even though all 8 could be allocated from the first NUMA node)", topoDualSocketMultiNumaPerSocketHT, - mustParseCPUSet(t, "3-39,43-79"), + mustParseCPUSet(t, "2-29,31-39,42-69,71-79"), 48, 1, "", - mustParseCPUSet(t, "10-17,20-27,30-37,50-57,60-67,70-77"), + mustParseCPUSet(t, "10-17,20-27,31-38,50-57,60-67,71-78"), }, { "allocate 8 full cores with 2 distributed across each NUMA node",