Add unit tests for scheduler's dynamic event handlers registration

This commit is contained in:
00255991
2021-09-06 16:19:34 +08:00
parent c1e69551be
commit 06a9bfbb21
3 changed files with 114 additions and 1 deletions

View File

@@ -444,7 +444,6 @@ func addAllEventHandlers(
dynInformer.AddEventHandler(
buildEvtResHandler(at, gvk, strings.Title(gvr.Resource)),
)
go dynInformer.Run(sched.StopEverything)
}
}
}