- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CheckCacheEvents (0.16 sec)
-
pilot/pkg/config/memory/controller_test.go
func TestControllerEvents(t *testing.T) { store := memory.Make(collections.Mocks) ctl := memory.NewController(store) // Note that the operations must go through the controller since the store does not trigger back events mock.CheckCacheEvents(ctl, ctl, TestNamespace, 5, t) } func TestControllerCacheFreshness(t *testing.T) { store := memory.Make(collections.Mocks) ctl := memory.NewController(store) mock.CheckCacheFreshness(ctl, TestNamespace, t) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 18 15:37:45 UTC 2021 - 1.8K bytes - Viewed (0) -
pilot/test/mock/config.go
Meta: configMeta, Spec: c.spec, }); err != nil { t.Errorf("Post(%v) => got %v", c.name, err) } }) } } // CheckCacheEvents validates operational invariants of a cache func CheckCacheEvents(store model.ConfigStore, cache model.ConfigStoreController, namespace string, n int, t *testing.T) { n64 := int64(n) stop := make(chan struct{}) defer close(stop)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 13.2K bytes - Viewed (0)