- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 197 for waitc (0.04 sec)
-
pkg/kube/multicluster/cluster.go
Update ) func (a ACTION) String() string { switch a { case Add: return "Add" case Update: return "Update" } return "Unknown" } // Run starts the cluster's informers and waits for caches to sync. Once caches are synced, we mark the cluster synced. // This should be called after each of the handlers have registered informers, and should be run in a goroutine.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 06 02:13:10 UTC 2024 - 3.8K bytes - Viewed (0) -
internal/config/batch/batch.go
config.KV{ Key: ReplicationWorkersWait, Value: "0ms", // No wait by default between each replication attempts. }, config.KV{ Key: KeyRotationWorkersWait, Value: "0ms", // No wait by default between each key rotation attempts. }, config.KV{ Key: ExpirationWorkersWait, Value: "0ms", // No wait by default between each expiration attempts. }, }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
} barrier.await(); // release the threads! barrier.await(); // wait for them all to complete assertEquals(1, task.get().intValue()); assertEquals(1, counter.get()); } executor.shutdown(); } @J2ktIncompatible @GwtIncompatible // blocking wait public void testToString() throws Exception { final CountDownLatch enterLatch = new CountDownLatch(1);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 7.3K bytes - Viewed (0) -
src/unique/handle_test.go
func drainMaps(t *testing.T) { t.Helper() wait := make(chan struct{}, 1) // Set up a one-time notification for the next time the cleanup runs. // Note: this will only run if there's no other active cleanup, so // we can be sure that the next time cleanup runs, it'll see the new // notification. cleanupMu.Lock() cleanupNotify = append(cleanupNotify, func() { select { case wait <- struct{}{}: default: } })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:14:07 UTC 2024 - 2.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go
`))) ) // NewWaitControlPlanePhase is a hidden phase that runs after the control-plane and etcd phases func NewWaitControlPlanePhase() workflow.Phase { phase := workflow.Phase{ Name: "wait-control-plane", Short: "Wait for the control plane to start", // TODO: unhide this phase once WaitForAllControlPlaneComponents goes GA: // https://github.com/kubernetes/kubeadm/issues/2907 Hidden: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 5K bytes - Viewed (0) -
pkg/test/framework/config.go
for ns, y := range c.yamlText { ns, y := ns, y g.Go(func() error { return c.applyYAML(options.Cleanup, ns, y...) }) } // Wait for all each apply to complete. if err := g.Wait(); err != nil { return err } if options.Wait { // TODO: wait for each namespace concurrently once WaitForConfig supports concurrency. for ns, y := range c.yamlText {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 8.2K bytes - Viewed (0) -
pkg/kubelet/winstats/perfcounters_test.go
} // There are some counters that we can't expect to see any non-zero values, like the // networking-related counters. if tc.skipCheck { return } // Wait until we get a non-zero perf counter data. if pollErr := wait.Poll(100*time.Millisecond, 5*perfCounterUpdatePeriod, func() (bool, error) { data, err := counter.getData() if err != nil { return false, err } if data != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 3.5K bytes - Viewed (0) -
cmd/mrf.go
} } now := time.Now() if now.Sub(u.queued) < time.Second { // let recently failed networks to reconnect // making MRF wait for 1s before retrying, // i.e 4 reconnect attempts. time.Sleep(time.Second) } // wait on timer per heal wait := healSleeper.Timer(context.Background()) scan := madmin.HealNormalScan if u.scanMode != 0 { scan = u.scanMode }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/change_test.go
// Update CRD and ensure that all watches are gracefully terminated. updateCRD() drained := make(chan struct{}) go func() { defer close(drained) wg.Wait() }() select { case <-drained: case <-time.After(wait.ForeverTestTimeout): t.Fatal("timed out waiting for watchers to be terminated") } stopChan := make(chan struct{}) // Set up loop to modify CRD in the background
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 13:59:03 UTC 2024 - 5.2K bytes - Viewed (0) -
pkg/test/util/assert/tracker.go
func (t *Tracker[T]) Empty() { t.t.Helper() t.mu.Lock() defer t.mu.Unlock() if len(t.events) != 0 { t.t.Fatalf("unexpected events: %v", t.events) } } // WaitOrdered waits for an event to happen, in order func (t *Tracker[T]) WaitOrdered(events ...T) { t.t.Helper() for i, event := range events { var err error retry.UntilSuccessOrFail(t.t, func() error { t.mu.Lock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 3.6K bytes - Viewed (0)