- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for waitForCacheSync (0.16 sec)
-
pkg/kube/kclient/client_test.go
tracker := assert.NewTracker[string](t) wasm.AddEventHandler(clienttest.TrackerHandler(tracker)) go constantlyAccessForRaceDetection(stop, wasm) c.RunAndWait(stop) kube.WaitForCacheSync("test", test.NewStop(t), wasm.HasSynced) wt.Create(&istioclient.WasmPlugin{ ObjectMeta: metav1.ObjectMeta{Name: "name", Namespace: "default"}, }) assert.EventuallyEqual(t, func() int {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 15:12:54 UTC 2024 - 17.2K bytes - Viewed (0) -
pilot/pkg/bootstrap/server.go
func (s *Server) addTerminatingStartFunc(name string, fn server.Component) { s.server.RunComponentAsyncAndWait(name, fn) } func (s *Server) waitForCacheSync(stop <-chan struct{}) bool { start := time.Now() log.Info("Waiting for caches to be synced") if !kubelib.WaitForCacheSync("server", stop, s.cachesSynced) { log.Errorf("Failed waiting for cache sync") return false }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 46.3K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/client.go
if cl.started.Swap(true) { // was already started by other thread return } t0 := time.Now() cl.logger.Infof("Starting Pilot K8S CRD controller") if !kube.WaitForCacheSync("crdclient", stop, cl.informerSynced) { cl.logger.Errorf("Failed to sync Pilot K8S CRD controller cache") return } cl.logger.Infof("Pilot K8S CRD controller synced in %v", time.Since(t0)) cl.queue.Run(stop)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 00:12:28 UTC 2024 - 13.7K bytes - Viewed (0) -
pilot/test/xds/fake.go
_ = listener.Close() }) // Start the discovery server s.Start(stop) cg.ServiceEntryRegistry.XdsUpdater = s // Now that handlers are added, get everything started cg.Run() kubelib.WaitForCacheSync("fake", stop, cg.Registry.HasSynced, cg.Store().HasSynced) cg.ServiceEntryRegistry.ResyncEDS() // Send an update. This ensures that even if there are no configs provided, the push context is
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 10 16:08:52 UTC 2024 - 18.4K bytes - Viewed (0)