mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-17 02:06:23 +00:00
Introduced `OptionalWaitGroup` as a convenient abstraction of `*WaitGroup`. Made fairqueuing and emptyRelay::HandleEmpty update the OptionalWaitGroup and plumbed requestManagementSystem to be able to do that. Making HandleEmpty update the OptionalWaitGroup illustrates how a test function that is testing the quiesce functionality of a QueueSet would do that. This is also a step toward making requestManagementSystem update the OptionalWaitGroup properly when there are configuration changes; the remaining steps will include plumbing the OptionalWaitGroup through the work queue and its worker. Even without this change it is already possible to test the rest of QueueSet functionality without any special entry methods. It is also easy to test the functionality of a requestManagementSystem excepting its config controller.