Merge pull request #135301 from bwsalmon/bsalmon-batch-after

Fix a bug in scheduler_perf integration test
This commit is contained in:
Kubernetes Prow Robot
2025-12-17 20:00:39 -08:00
committed by GitHub

View File

@@ -1149,6 +1149,9 @@ func setupTestCase(t testing.TB, tc *testCase, featureGates map[featuregate.Feat
if qhEnabled, exists := featureGates[features.SchedulerQueueingHints]; exists && !qhEnabled {
featuregatetesting.SetFeatureGateEmulationVersionDuringTest(t, utilfeature.DefaultFeatureGate, version.MustParse("1.33"))
} else if _, found := featureGates[features.OpportunisticBatching]; !found {
if featureGates == nil {
featureGates = map[featuregate.Feature]bool{}
}
featureGates[features.OpportunisticBatching] = false
}
featuregatetesting.SetFeatureGatesDuringTest(t, utilfeature.DefaultFeatureGate, featureGates)