- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 376 for timeEnd (0.16 sec)
-
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) -
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) -
pkg/kubelet/certificate/bootstrap/bootstrap.go
klog.InfoS("Failed to connect to apiserver", "err", err) return } cancel() connected = true }, 2*time.Second, 0.2, true, ctx.Done()) if !connected { return errors.New("timed out waiting to connect to apiserver") } return nil } // requestNodeCertificate will create a certificate signing request for a node // (Organization and CommonName for the CSR will be set as expected for node
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 27 08:04:25 UTC 2022 - 14.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/request_deadline_test.go
handler := http.HandlerFunc(func(_ http.ResponseWriter, req *http.Request) { ctx := req.Context() select { case <-time.After(timeout + time.Second): errGot = fmt.Errorf("expected the request context to have timed out in %s", timeout) case <-ctx.Done(): errGot = ctx.Err() } }) fakeSink := &fakeAuditSink{} fakeRuleEvaluator := policy.NewFakePolicyRuleEvaluator(auditinternal.LevelRequestResponse, nil)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 14 23:04:34 UTC 2022 - 16.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)