- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestCacheWatcherCleanupNotBlockedByResult (0.22 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go
testingclock "k8s.io/utils/clock/testing" ) // verifies the cacheWatcher.process goroutine is properly cleaned up even if // the writes to cacheWatcher.result channel is blocked. func TestCacheWatcherCleanupNotBlockedByResult(t *testing.T) { var lock sync.RWMutex var w *cacheWatcher count := 0 filter := func(string, labels.Set, fields.Set) bool { return true } forget := func(drainWatcher bool) { lock.Lock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 22.9K bytes - Viewed (0)