Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CheckCacheSync (0.11 sec)

  1. pilot/pkg/config/memory/controller_test.go

    	mock.CheckCacheFreshness(ctl, TestNamespace, t)
    }
    
    func TestControllerClientSync(t *testing.T) {
    	store := memory.Make(collections.Mocks)
    	ctl := memory.NewController(store)
    	mock.CheckCacheSync(store, ctl, TestNamespace, 5, t)
    }
    
    func TestControllerHashSynced(t *testing.T) {
    	store := memory.Make(collections.Mocks)
    	var v int32
    	ctl := memory.NewController(store)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 18 15:37:45 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  2. pilot/test/mock/config.go

    	timeout := time.After(10 * time.Second)
    	select {
    	case <-timeout:
    		t.Fatalf("timeout waiting to be done")
    	case <-done:
    		return
    	}
    }
    
    // CheckCacheSync validates operational invariants of a cache against the
    // non-cached client.
    func CheckCacheSync(store model.ConfigStore, cache model.ConfigStoreController, namespace string, n int, t *testing.T) {
    	keys := make(map[int]config2.Config)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 13.2K bytes
    - Viewed (0)
Back to top