Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 131 for timeEnd (0.34 sec)

  1. pkg/registry/core/service/ipallocator/cidrallocator.go

    	// Wait for all involved caches to be synced, before processing items from the queue is started
    	if !cache.WaitForCacheSync(c.internalStopCh, c.serviceCIDRSynced, c.ipAddressSynced) {
    		runtime.HandleError(fmt.Errorf("timed out waiting for caches to sync"))
    		return
    	}
    
    	// this is single threaded only one serviceCIDR at a time
    	go wait.Until(c.runWorker, time.Second, c.internalStopCh)
    
    	<-c.internalStopCh
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller_test.go

    		copied := newObj.DeepCopyObject()
    		if customReconciler != nil {
    			err = customReconciler(namespace, name, newObj)
    		}
    		select {
    		case reconciledObjects <- copied:
    		case <-ctx.Done():
    			panic("timed out attempting to deliver reconcile event")
    		}
    		return err
    	}
    
    	waitForReconcile = func(obj runtime.Object) error {
    		select {
    		case reconciledObj := <-reconciledObjects:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. src/crypto/tls/tls.go

    	if err != nil {
    		return nil, err
    	}
    	return NewListener(l, config), nil
    }
    
    type timeoutError struct{}
    
    func (timeoutError) Error() string   { return "tls: DialWithDialer timed out" }
    func (timeoutError) Timeout() bool   { return true }
    func (timeoutError) Temporary() bool { return true }
    
    // DialWithDialer connects to the given network address using dialer.Dial and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    			if err != nil {
    				return storage.NewInternalErrorf("unable to transform key %q: %v", kv.Key, err)
    			}
    
    			// Check if the request has already timed out before decode object
    			select {
    			case <-ctx.Done():
    				// parent context is canceled or timed out, no point in continuing
    				return storage.NewTimeoutError(string(kv.Key), "request did not complete within requested timeout")
    			default:
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

            };
        TimeoutException e =
            assertThrows(
                TimeoutException.class, () -> service.startAsync().awaitRunning(1, MILLISECONDS));
        assertThat(e)
            .hasMessageThat()
            .isEqualTo("Timed out waiting for Foo [STARTING] to reach the RUNNING state.");
      }
    
      private class TestService extends AbstractScheduledService {
        CyclicBarrier runFirstBarrier = new CyclicBarrier(2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

            };
        TimeoutException e =
            assertThrows(
                TimeoutException.class, () -> service.startAsync().awaitRunning(1, MILLISECONDS));
        assertThat(e)
            .hasMessageThat()
            .isEqualTo("Timed out waiting for Foo [STARTING] to reach the RUNNING state.");
      }
    
      private class TestService extends AbstractScheduledService {
        CyclicBarrier runFirstBarrier = new CyclicBarrier(2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go

    			}
    
    			return sarErr
    		}, webhook.DefaultShouldRetry); err != nil {
    			klog.Errorf("Failed to make webhook authorizer request: %v", err)
    
    			// we're returning NoOpinion, and the parent context has not timed out or been canceled
    			if w.decisionOnError == authorizer.DecisionNoOpinion && ctx.Err() == nil {
    				w.metrics.RecordWebhookFailOpen(ctx, w.name, metricsResult)
    			}
    
    			return w.decisionOnError, "", err
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. tests/integration/pilot/analyze_test.go

    			istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{})
    
    			// We should time out immediately.
    			_, err := istioctlSafe(t, istioCtl, ns.Name(), true, "--timeout=0s")
    			g.Expect(err.Error()).To(ContainSubstring("timed out"))
    		})
    }
    
    // Verify the error line number in the message is correct
    func TestErrorLine(t *testing.T) {
    	// nolint: staticcheck
    	framework.
    		NewTest(t).
    		RequiresSingleCluster().
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/controlling_task_execution.adoc

    The task will be marked as `FAILED`.
    
    <<sec:finalizer_tasks,Finalizer tasks>> are executed.
    If `--continue` is used, other tasks continue running.
    
    Tasks that don't respond to interrupts can't be timed out.
    All of Gradle's built-in tasks respond to timeouts.
    
    ====
    include::sample[dir="snippets/tasks/timeout/kotlin",files="build.gradle.kts[tags=without-import]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. istioctl/pkg/waypoint/waypoint.go

    								programmed = true
    								break
    							}
    						}
    					}
    					if programmed {
    						break
    					}
    					if time.Since(startTime) > waitTimeout {
    						errorMsg := fmt.Sprintf("timed out while waiting for waypoint %v/%v", gw.Namespace, gw.Name)
    						if err != nil {
    							errorMsg += fmt.Sprintf(": %s", err)
    						}
    						return fmt.Errorf(errorMsg)
    					}
    				}
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top