Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 170 for timeEnd (0.36 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/runtime/netpoll_epoll.go

    	if errno != 0 {
    		if errno != _EINTR {
    			println("runtime: epollwait on fd", epfd, "failed with", errno)
    			throw("runtime: netpoll failed")
    		}
    		// If a timed sleep was interrupted, just return to
    		// recalculate how long we should sleep now.
    		if waitms > 0 {
    			return gList{}, 0
    		}
    		goto retry
    	}
    	var toRun gList
    	delta := int32(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. src/net/http/responsecontroller_test.go

    	if err == nil {
    		t.Errorf("client reading from truncated request body: got nil error, want non-nil")
    	}
    	err = <-errc // io.Copy error
    	if !errors.Is(err, os.ErrDeadlineExceeded) {
    		t.Errorf("server timed out writing request body: got err %v; want os.ErrDeadlineExceeded", err)
    	}
    }
    
    func TestResponseControllerSetPastReadDeadline(t *testing.T) {
    	run(t, testResponseControllerSetPastReadDeadline)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 19:20:31 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/AbstractDaemonLifecycleSpec.groovy

                                    System.exit(1)
                                }
                                if (System.currentTimeMillis() > sanityCheck) {
                                    println "timed out waiting for stop file, failing"
                                    throw new RuntimeException("It seems the stop file was never created")
                                }
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:32:55 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. pkg/util/filesystem/util_windows.go

    				"filePath", filePath, "err", lastSocketErr, "socketDialRetryPeriod",
    				socketDialRetryPeriod)
    			return false, nil
    		})
    
    	// PollImmediate will return "timed out waiting for the condition" if the function it
    	// invokes never returns true
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/metrics_test.go

    			expectedRegisteredStatusCode: "200",
    			expectEvalutionResult:        "success",
    			expectDurationResult:         "success",
    			expectFailOpenResult:         "",
    		},
    
    		{
    			name:       "timed out request",
    			clientCert: clientCert, clientKey: clientKey, clientCA: caCert,
    			serverCert: serverCert, serverKey: serverKey, serverCA: caCert,
    			authzFakeServiceStatusCode:   http.StatusGatewayTimeout,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. src/internal/trace/batchcursor.go

    // into e. It does not try to interpret the arguments
    // but it does validate that the event is a regular
    // event with a timestamp (vs. a structural event).
    //
    // It requires that the event its reading be timed, which must
    // be the case for every event in a plain EventBatch.
    func readTimedBaseEvent(b []byte, e *baseEvent) (int, timestamp, error) {
    	// Get the event type.
    	typ := event.Type(b[0])
    	specs := go122.Specs()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top