We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e724e9 commit 9f63988Copy full SHA for 9f63988
pkg/scheduler/actions/preempt/preempt_test.go
@@ -314,6 +314,20 @@ func TestPreempt(t *testing.T) {
314
}
315
})
316
317
+ actions = []framework.Action{New()}
318
+ for i, test := range tests {
319
+ test.Plugins = plugins
320
+ test.PriClass = []*schedulingv1.PriorityClass{highPrio, lowPrio}
321
+ t.Run(test.Name, func(t *testing.T) {
322
+ test.RegisterSession(tiers, []conf.Configuration{{Name: actions[0].Name(),
323
+ Arguments: map[string]interface{}{EnableStrictGangPreemptionKey: false}}})
324
+ defer test.Close()
325
+ test.Run(actions)
326
+ if err := test.CheckAll(i); err != nil {
327
+ t.Fatal(err)
328
+ }
329
+ })
330
331
332
333
func TestTopologyAwarePreempt(t *testing.T) {
0 commit comments