Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 80 for Await (0.13 sec)

  1. pkg/kubelet/kubelet.go

    		// fairness effect.
    		go wait.JitterUntil(kl.syncNodeStatus, kl.nodeStatusUpdateFrequency, 0.04, true, wait.NeverStop)
    		go kl.fastStatusUpdateOnce()
    
    		// start syncing lease
    		go kl.nodeLeaseController.Run(context.Background())
    	}
    	go wait.Until(kl.updateRuntimeUp, 5*time.Second, wait.NeverStop)
    
    	// Set up iptables util rules
    	if kl.makeIPTablesUtilChains {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/runtime/framework_test.go

    		},
    		{
    			name: "WaitPermitPlugin",
    			plugins: []*TestPlugin{
    				{
    					name: "TestPlugin",
    					inj:  injectedResult{PermitStatus: int(framework.Wait)},
    				},
    			},
    			want: framework.NewStatus(framework.Wait, `one or more plugins asked to wait and no plugin rejected pod ""`),
    		},
    		{
    			name: "SuccessSuccessPermitPlugin",
    			plugins: []*TestPlugin{
    				{
    					name: "TestPlugin",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  3. src/net/http/transport_test.go

    		}
    
    		// Unblock the first request.
    		close(idlec)
    	}()
    
    	// Wait for the second request to arrive at the server, and then cancel
    	// the request context.
    	r2c := <-reqc
    	cancel()
    
    	<-idlec
    
    	close(r2c)
    	wg.Wait()
    }
    
    func TestHandlerAbortRacesBodyRead(t *testing.T) { run(t, testHandlerAbortRacesBodyRead) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  4. cluster/gce/util.sh

      # Report logging choice (if any).
      if [[ "${ENABLE_NODE_LOGGING-}" == "true" ]]; then
        echo "+++ Logging using Fluentd to ${LOGGING_DESTINATION:-unknown}"
      fi
    
      # Wait for last batch of jobs
      kube::util::wait-for-jobs || {
        code=$?
        echo -e "${color_red}Failed to create firewall rule.${color_norm}" >&2
        exit $code
      }
    }
    
    function get-scope-flags() {
      local scope_flags=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  5. src/runtime/proc.go

    // casGToWaitingForGC transitions gp from old to _Gwaiting, and sets the wait reason.
    // The wait reason must be a valid isWaitingForGC wait reason.
    //
    // Use this over casgstatus when possible to ensure that a waitreason is set.
    func casGToWaitingForGC(gp *g, old uint32, reason waitReason) {
    	if !reason.isWaitingForGC() {
    		throw("casGToWaitingForGC with non-isWaitingForGC wait reason")
    	}
    	casGToWaiting(gp, old, reason)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  6. cluster/gce/gci/configure-helper.sh

    function start-fluentd-resource-update {
      wait-for-apiserver-and-update-fluentd &
    }
    
    # VolumeSnapshot CRDs and controller are installed by cluster addon manager,
    # which may not be available at this point. Run this as a background process.
    function wait-for-volumesnapshot-crd-and-controller {
      # Wait until volumesnapshot CRDs and controller are in place.
      echo "Wait until volume snapshot CRDs are installed"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	}
    
    	if _, err := registry.Create(ctx, barPod, rest.ValidateAllObjectFunc, &metav1.CreateOptions{}); err != nil {
    		t.Fatal(err)
    	}
    
    	select {
    	case <-time.After(wait.ForeverTestTimeout):
    		t.Fatalf("timeout after %v", wait.ForeverTestTimeout)
    	case l, ok := <-waitListCh:
    		if !ok {
    			return
    		}
    		pl := l.(*example.PodList).Items
    		if len(pl) != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  8. pkg/controller/garbagecollector/garbagecollector_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	go gc.Run(tCtx, 1)
    	// The pseudo-code of GarbageCollector.Sync():
    	// GarbageCollector.Sync(client, period, stopCh):
    	//    wait.Until() loops with `period` until the `stopCh` is closed :
    	//        wait.PollImmediateUntil() loops with 100ms (hardcode) util the `stopCh` is closed:
    	//            GetDeletableResources()
    	//            gc.resyncMonitors()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  9. src/net/http/serve_test.go

    	if err := cmd.Start(); err != nil {
    		b.Fatalf("subprocess failed to start: %v", err)
    	}
    
    	done := make(chan error, 1)
    	go func() {
    		done <- cmd.Wait()
    		close(done)
    	}()
    	defer func() {
    		cancel()
    		<-done
    	}()
    
    	// Wait for the server in the child process to respond and tell us
    	// its listening address, once it's started listening:
    	bs := bufio.NewScanner(stdout)
    	if !bs.Scan() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  10. src/net/http/server.go

    // program doesn't exit and waits instead for Shutdown to return.
    //
    // Shutdown does not attempt to close nor wait for hijacked
    // connections such as WebSockets. The caller of Shutdown should
    // separately notify such long-lived connections of shutdown and wait
    // for them to close, if desired. See [Server.RegisterOnShutdown] for a way to
    // register shutdown notification functions.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top