diff --git a/pkg/scheduler/plugins/coscheduling/coscheduling_test.go b/pkg/scheduler/plugins/coscheduling/coscheduling_test.go index 627e0ab3a..26e04172e 100644 --- a/pkg/scheduler/plugins/coscheduling/coscheduling_test.go +++ b/pkg/scheduler/plugins/coscheduling/coscheduling_test.go @@ -1219,8 +1219,7 @@ func schedulePod(ctx context.Context, suit *pluginTestSuit, fwk framework.Framew } // Run "prefilter" plugins. - suit.plugin.(*Coscheduling).BeforePreFilter(ctx, state, pod) - _, s := fwk.RunPreFilterPlugins(ctx, state, pod) + _, _, s := suit.plugin.(*Coscheduling).BeforePreFilter(ctx, state, pod) if !s.IsSuccess() { info.result = "PreFiler" } else if injectFilterError {