Skip to content

Commit

Permalink
scheduler: fix fairness ut (#2069)
Browse files Browse the repository at this point in the history
Signed-off-by: wangjianyu.wjy <wangjianyu.wjy@alibaba-inc.com>
Co-authored-by: wangjianyu.wjy <wangjianyu.wjy@alibaba-inc.com>
  • Loading branch information
ZiMengSheng and wangjianyu.wjy authored May 28, 2024
1 parent f436876 commit 5de95c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/scheduler/plugins/coscheduling/coscheduling_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5de95c3

Please sign in to comment.