mirror of https://github.com/k3s-io/k3s
![]() The Shutdown() call returned immediately, without waiting for all event distributions to be completed. Even worse, it would close all the watcher result channels before all the info was sent to them. Properly wait for all distributor goroutines - currently only one - to be finished. This fixes the flaky test TestBroadcasterDropIfChannelFull. Bonus cleanup on said test too. |
||
---|---|---|
.. | ||
json | ||
doc.go | ||
filter.go | ||
filter_test.go | ||
iowatcher.go | ||
iowatcher_test.go | ||
mux.go | ||
mux_test.go | ||
watch.go | ||
watch_test.go |