Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CheckCacheFreshness (0.34 sec)

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

    	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)
    }
    
    func TestControllerClientSync(t *testing.T) {
    	store := memory.Make(collections.Mocks)
    	ctl := memory.NewController(store)
    	mock.CheckCacheSync(store, ctl, TestNamespace, 5, 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)
  2. pilot/test/mock/config.go

    		return added.Load() == n64 && deleted.Load() == n64
    	}, retry.Message("receive events"), retry.Delay(time.Millisecond*500), retry.Timeout(time.Minute))
    }
    
    // CheckCacheFreshness validates operational invariants of a cache
    func CheckCacheFreshness(cache model.ConfigStoreController, namespace string, t *testing.T) {
    	stop := make(chan struct{})
    	done := make(chan bool)
    	o := Make(namespace, 0)
    
    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