- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestWatchCacheBasic (0.22 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go
w.UpdateResourceVersion(fmt.Sprintf("%d", rev)) case <-ctx.Done(): return } }() return nil } func (w *testWatchCache) Stop() { close(w.stopCh) } func TestWatchCacheBasic(t *testing.T) { store := newTestWatchCache(2, &cache.Indexers{}) defer store.Stop() // Test Add/Update/Delete. pod1 := makeTestPod("pod", 1) if err := store.Add(pod1); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 35.4K bytes - Viewed (0)