mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-17 20:00:07 +00:00
Merge pull request #135301 from bwsalmon/bsalmon-batch-after
Fix a bug in scheduler_perf integration test
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user