From 4b5ed7cdbda1fd19d0511e0fd36947b0b903f4b9 Mon Sep 17 00:00:00 2001 From: "wangjianyu.wjy" Date: Mon, 27 May 2024 20:52:35 +0800 Subject: [PATCH] scheduler: fix fairness ut Signed-off-by: wangjianyu.wjy --- pkg/scheduler/plugins/coscheduling/coscheduling_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 {