Skip to content

Commit

Permalink
sort remove pod with usage
Browse files Browse the repository at this point in the history
  • Loading branch information
niuyueyang1996 committed Mar 16, 2023
1 parent 7592d8e commit 623e10a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/descheduler/descheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ func TestRealUtiization(t *testing.T) {
internalDeschedulerPolicy := &api.DeschedulerPolicy{}
scope := scope{}

ctx, _ := context.WithTimeout(context.Background(), time.Second*10)
ctx, cancel := context.WithTimeout(context.Background(), time.Second*10)
defer cancel()
err = v1alpha1.V1alpha1ToInternal(dp, pluginregistry.PluginRegistry, internalDeschedulerPolicy, scope)
if err != nil {
t.Fatalf("Unable to convert v1alpha1 to v1alpha2: %v", err)
Expand Down

0 comments on commit 623e10a

Please sign in to comment.