e2e_test: fix goroutine leak

This commit is contained in:
Gaurav Singh
2021-04-04 21:19:56 -04:00
parent 9ebc909c7f
commit 7076ba0760
+1 -1
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 {