KEP-4540: StrictCPUReservationOption moved to GA, modified unit tests to reflect this

This commit is contained in:
Mark Sasnal
2025-10-02 14:36:10 -04:00
parent 2003bd0ced
commit e4a34ce343
2 changed files with 2 additions and 13 deletions

View File

@@ -43,12 +43,12 @@ var (
DistributeCPUsAcrossCoresOption,
)
betaOptions = sets.New[string](
StrictCPUReservationOption,
DistributeCPUsAcrossNUMAOption,
PreferAlignByUnCoreCacheOption,
)
stableOptions = sets.New[string](
FullPCPUsOnlyOption,
StrictCPUReservationOption,
)
)

View File

@@ -106,18 +106,6 @@ func TestPolicyOptionsAvailable(t *testing.T) {
featureGateEnable: true,
expectedAvailable: false,
},
{
option: StrictCPUReservationOption,
featureGate: pkgfeatures.CPUManagerPolicyBetaOptions,
featureGateEnable: false,
expectedAvailable: false,
},
{
option: StrictCPUReservationOption,
featureGate: pkgfeatures.CPUManagerPolicyBetaOptions,
featureGateEnable: true,
expectedAvailable: true,
},
{
option: PreferAlignByUnCoreCacheOption,
featureGate: pkgfeatures.CPUManagerPolicyBetaOptions,
@@ -146,6 +134,7 @@ func TestPolicyOptionsAvailable(t *testing.T) {
func TestPolicyOptionsAlwaysAvailableOnceGA(t *testing.T) {
options := []string{
FullPCPUsOnlyOption,
StrictCPUReservationOption,
}
for _, option := range options {
t.Run(option, func(t *testing.T) {