Skip to content

Commit

Permalink
scheduler: fix fairness ut
Browse files Browse the repository at this point in the history
Signed-off-by: wangjianyu.wjy <[email protected]>
  • Loading branch information
wangjianyu.wjy committed May 27, 2024
1 parent f436876 commit 4b5ed7c
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 4b5ed7c

Please sign in to comment.