- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 320 for timeEnd (0.33 sec)
-
pkg/kubelet/nodeshutdown/systemd/inhibit_linux_test.go
done := make(chan bool) go func() { select { case res := <-outChan: assert.Equal(t, tc.shutdownActive, res) done <- true case <-time.After(5 * time.Second): t.Errorf("Timed out waiting for shutdown message") done <- true } }() signal := &dbus.Signal{Body: []interface{}{tc.shutdownActive}} fakeSystemBus.signalChannel <- signal <-done }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 29 19:50:06 UTC 2023 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
// } public static long SHORT_DELAY_MS; public static long SMALL_DELAY_MS; public static long MEDIUM_DELAY_MS; public static long LONG_DELAY_MS; /** * Returns the shortest timed delay. This could be reimplemented to use for example a Property. */ protected long getShortDelay() { return 50; } /** Sets delays as multiples of SHORT_DELAY. */ protected void setDelays() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 37.7K bytes - Viewed (0) -
src/runtime/mgcscavenge_test.go
if !s.BlockUntilParked(2e9 /* 2 seconds */) { t.Fatal("timed out waiting for scavenger to run to completion") } // Run a check. verifyScavengerState(t, totalWork) // Now let's do it again and see what happens when we have no work to do. // It should've gone right back to sleep. s.Wake() if !s.BlockUntilParked(2e9 /* 2 seconds */) { t.Fatal("timed out waiting for scavenger to run to completion") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 25.2K bytes - Viewed (0) -
src/runtime/sys_linux_arm64.s
SVC RET TEXT runtime·timer_create(SB),NOSPLIT,$0-28 MOVW clockid+0(FP), R0 MOVD sevp+8(FP), R1 MOVD timerid+16(FP), R2 MOVD $SYS_timer_create, R8 SVC MOVW R0, ret+24(FP) RET TEXT runtime·timer_settime(SB),NOSPLIT,$0-28 MOVW timerid+0(FP), R0 MOVW flags+4(FP), R1 MOVD new+8(FP), R2 MOVD old+16(FP), R3 MOVD $SYS_timer_settime, R8 SVC MOVW R0, ret+24(FP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 24 18:53:44 UTC 2023 - 16.7K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/plugin_manager_test.go
return true, nil } t.Logf("expected %#v, got %#v, will retry", expected, fakePluginHandler.events) return false, nil }, ) if err != nil { t.Fatalf("Timed out waiting for plugin to be added to actual state of world cache.") } } func retryWithExponentialBackOff(initialDuration time.Duration, fn wait.ConditionFunc) error { backoff := wait.Backoff{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 4.4K bytes - Viewed (0) -
cluster/images/etcd/migrate/migrate_server.go
r.cmd = etcdCmd return nil } case <-done: err = etcdCmd.Process.Kill() if err != nil { return fmt.Errorf("error killing etcd: %v", err) } return fmt.Errorf("timed out waiting for etcd on port %d", r.cfg.port) } } } // Stop terminates the etcd server process. If the etcd server process has not been started // or is not still running, this returns an error.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 30 16:29:59 UTC 2022 - 3.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/watch_termination_test.go
w := httptest.NewRecorder() w.Code = 0 handler.ServeHTTP(w, req) responseGot := w.Result() if test.handlerInvoked != handlerInvokedGot { t.Errorf("expected the handler to be invoked: %d timed, but got: %d", test.handlerInvoked, handlerInvokedGot) } if test.statusCodeExpected != responseGot.StatusCode { t.Errorf("expected status code: %d, but got: %d", test.statusCodeExpected, w.Result().StatusCode) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 27 15:49:49 UTC 2023 - 5.2K bytes - Viewed (0) -
pkg/kube/multicluster/cluster.go
Client kube.Client kubeConfigSha [sha256.Size]byte stop chan struct{} // initialSync is marked when RunAndWait completes initialSync *atomic.Bool // initialSyncTimeout is set when RunAndWait timed out initialSyncTimeout *atomic.Bool } type ACTION int const ( Add ACTION = iota Update ) func (a ACTION) String() string { switch a { case Add: return "Add" case Update:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 06 02:13:10 UTC 2024 - 3.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery_controller.go
defer c.queue.ShutDown() defer klog.Info("Shutting down DiscoveryController") klog.Info("Starting DiscoveryController") if !cache.WaitForCacheSync(stopCh, c.crdsSynced) { utilruntime.HandleError(fmt.Errorf("timed out waiting for caches to sync")) return } // initially sync all group versions to make sure we serve complete discovery if err := wait.PollImmediateUntil(time.Second, func() (bool, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 21 11:40:03 UTC 2024 - 12.8K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/util.go
c++ tt += responseTimes[id] } } var avgTime time.Duration if c > 0 { avgTime = tt / time.Duration(c) } return nil, fmt.Errorf("request set timed out after %v and only %d/%d requests completed (%v avg)", cfg.timeout, c, cfg.count, avgTime) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Oct 08 09:39:20 UTC 2023 - 4.4K bytes - Viewed (0)