1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

e2e_test: fix goroutine leak

This commit is contained in:
Gaurav Singh
2021-04-04 21:19:56 -04:00
parent 9ebc909c7f
commit 7076ba0760

View File

@@ -821,7 +821,7 @@ func TestDeschedulingInterval(t *testing.T) {
deschedulerPolicy := &api.DeschedulerPolicy{}
c := make(chan bool)
c := make(chan bool, 1)
go func() {
evictionPolicyGroupVersion, err := eutils.SupportEviction(s.Client)
if err != nil || len(evictionPolicyGroupVersion) == 0 {