Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 156 for waits (0.09 sec)

  1. pkg/scheduler/framework/runtime/framework.go

    // plugins returns a status other than "Success" or "Wait", it does not continue
    // running the remaining plugins and returns an error. Otherwise, if any of the
    // plugins returns "Wait", then this function will create and add waiting pod
    // to a map of currently waiting pods and return status with "Wait" code.
    // Pod will remain waiting pod for the minimum duration returned by the permit plugins.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  2. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    			fakePlugin.GetNewDetacherCallCount())
    	}
    }
    
    func retryWithExponentialBackOff(initialDuration time.Duration, fn wait.ConditionFunc) error {
    	backoff := wait.Backoff{
    		Duration: initialDuration,
    		Factor:   3,
    		Jitter:   0,
    		Steps:    6,
    	}
    	return wait.ExponentialBackoff(backoff, fn)
    }
    
    // verifies the force detach metric with reason
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  3. plugin/pkg/admission/limitranger/admission_test.go

    				if c.Namespace != attributesTest1.GetNamespace() {
    					t.Errorf("Expected %s namespace, got %s", attributesTest1.GetNamespace(), c.Namespace)
    				}
    			}
    		}()
    	}
    
    	// and here we wait for all the goroutines
    	wg.Wait()
    	// since all the calls with the same namespace will be holded, they must be catched on the singleflight group,
    	// There are two different sets of namespace calls
    	// hence only 2
    	if testCount != 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  4. cluster/gce/windows/k8s-node-setup.psm1

        # after some delay, or it may appear to be removed then you'll add it back
        # but then it will be removed once again. So, we first wait a long
        # unfortunate amount of time to ensure that things have quiesced, then we
        # wait until we're sure the route is really gone before re-adding it again.
        Log-Output "Waiting 45 seconds for host network state to quiesce"
        Start-Sleep 45
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  5. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    		// be re-queued until "Done", so no more than one worker handle the same item and
    		// no event missed.
    		go wait.UntilWithContext(ctx, nc.doNodeProcessingPassWorker, time.Second)
    	}
    
    	for i := 0; i < podUpdateWorkerSize; i++ {
    		go wait.UntilWithContext(ctx, nc.doPodProcessingWorker, time.Second)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  6. src/net/netip/netip_test.go

    			}
    
    			// Check that the parsed IP formats as expected.
    			s = got.String()
    			wants := test.str
    			if wants == "" {
    				wants = test.in
    			}
    			if s != wants {
    				t.Errorf("ParseAddr(%q).String() got %q, want %q", test.in, s, wants)
    			}
    
    			// Check that AppendTo matches MarshalText.
    			TestAppendToMarshal(t, got)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container.go

    		gracePeriod = gracePeriod - m.executePreStopHook(ctx, pod, containerID, containerSpec, gracePeriod)
    	}
    
    	// if we care about termination ordering, then wait for this container's turn to exit if there is
    	// time remaining
    	if ordering != nil && gracePeriod > 0 {
    		// grace period is only in seconds, so the time we've waited gets truncated downward
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  8. src/crypto/tls/handshake_server_test.go

    	// ConnectionState of the resulting connection. It returns false if the
    	// ConnectionState is unacceptable.
    	validate func(ConnectionState) error
    	// wait, if true, prevents this subtest from calling t.Parallel.
    	// If false, runServerTest* returns immediately.
    	wait bool
    }
    
    var defaultClientCommand = []string{"openssl", "s_client", "-no_ticket"}
    
    // connFromCommand starts opens a listening socket and starts the reference
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/devicemanager/manager_test.go

    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/apimachinery/pkg/util/uuid"
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/client-go/tools/record"
    	pluginapi "k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1"
    	watcherapi "k8s.io/kubelet/pkg/apis/pluginregistration/v1"
    	"k8s.io/kubernetes/pkg/kubelet/checkpointmanager"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  10. pkg/controller/disruption/disruption_test.go

    			if err := dc.informerFactory.Core().V1().Pods().Informer().GetIndexer().Add(tc.pod); err != nil {
    				t.Fatalf("Failed adding pod to indexer: %v", err)
    			}
    			diff := ""
    			if err := wait.Poll(100*time.Millisecond, wait.ForeverTestTimeout, func() (bool, error) {
    				pod, err := dc.kubeClient.CoreV1().Pods(tc.pod.Namespace).Get(tCtx, tc.pod.Name, metav1.GetOptions{})
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top