Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for Terminate (0.14 sec)

  1. pkg/kubelet/pod_workers_test.go

    	if podWorkers.CouldHaveRunningContainers(types.UID("0")) {
    		t.Errorf("Expected pod to be terminated (deleted and terminated)")
    	}
    	if podWorkers.CouldHaveRunningContainers(types.UID("1")) {
    		t.Errorf("Expected pod to be terminated")
    	}
    	if !podWorkers.CouldHaveRunningContainers(types.UID("2")) {
    		t.Errorf("Expected pod to not be terminated")
    	}
    
    	if !podWorkers.ShouldPodContentBeRemoved(types.UID("0")) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/sidecar_simulation_test.go

    				CallMode: simulation.CallModeInbound,
    			},
    			Disabled: simulation.Result{
    				// This is probably a user error, but there is no reason we should block mTLS traffic
    				// we just will not terminate it
    				ClusterMatched: "inbound|70||",
    			},
    			Permissive: simulation.Result{
    				ClusterMatched: "inbound|70||",
    			},
    			Strict: simulation.Result{
    				ClusterMatched: "inbound|70||",
    			},
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    	// Cancel the watch after some time to check if it will properly
    	// terminate instead of hanging forever.
    	go func() {
    		defer cancel()
    		cacher.clock.Sleep(1 * time.Second)
    	}()
    
    	// Watch hangs waiting on watchcache being initialized.
    	// Ensure that it terminates when its context is cancelled
    	// (e.g. the request is terminated for whatever reason).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  4. src/cmd/go/internal/test/test.go

    		if wd := testTimeout / 10; wd < 5*time.Second {
    			testWaitDelay = 5 * time.Second
    		} else {
    			testWaitDelay = wd
    		}
    
    		// We expect the test binary to terminate itself (and dump stacks) after
    		// exactly testTimeout. We give it up to one WaitDelay or one minute,
    		// whichever is longer, to finish dumping stacks before we send it an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/load.go

    	UseVendorAll bool
    
    	// AllowErrors indicates that LoadPackages should not terminate the process if
    	// an error occurs.
    	AllowErrors bool
    
    	// SilencePackageErrors indicates that LoadPackages should not print errors
    	// that occur while matching or loading packages, and should not terminate the
    	// process if such an error occurs.
    	//
    	// Errors encountered in the module graph will still be reported.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	reflector.WatchListPageSize = storageWatchListPageSize
    	// When etcd loses leader for 3 cycles, it returns error "no leader".
    	// We don't want to terminate all watchers as recreating all watchers puts high load on api-server.
    	// In most of the cases, leader is reelected within few cycles.
    	reflector.MaxInternalErrorRetryDuration = time.Second * 30
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  7. pkg/proxy/nftables/proxier.go

    }
    
    // Proxier implements proxy.Provider
    var _ proxy.Provider = &Proxier{}
    
    // NewProxier returns a new nftables Proxier. Once a proxier is created, it will keep
    // nftables up to date in the background and will not terminate if a particular nftables
    // call fails.
    func NewProxier(ctx context.Context,
    	ipFamily v1.IPFamily,
    	syncPeriod time.Duration,
    	minSyncPeriod time.Duration,
    	masqueradeAll bool,
    	masqueradeBit int,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    	}
    	defer watcher.Stop()
    
    	done := make(chan struct{})
    	errc := make(chan error, 1)
    	var wg sync.WaitGroup
    	wg.Add(1)
    	// We must wait for the waitgroup to exit before we terminate the cache or the server in prior defers.
    	defer wg.Wait()
    	// Call close first, so the goroutine knows to exit.
    	defer close(done)
    
    	go func() {
    		defer wg.Done()
    		for i := 0; i < 100; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  9. pkg/proxy/iptables/proxier.go

    // An error will be returned if iptables fails to update or acquire the initial lock.
    // Once a proxier is created, it will keep iptables up to date in the background and
    // will not terminate if a particular iptables call fails.
    func NewProxier(ctx context.Context,
    	ipFamily v1.IPFamily,
    	ipt utiliptables.Interface,
    	sysctl utilsysctl.Interface,
    	exec utilexec.Interface,
    	syncPeriod time.Duration,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/buildlist.go

    		// provide packages in all.
    		hasDepsInAll := make(map[string]bool)
    		seen := map[module.Version]bool{}
    		for _, m := range roots {
    			hasDepsInAll[m.Path] = true
    		}
    		// This loop will terminate because it will call enqueue on each version of
    		// each dependency of the modules in hasDepsInAll at most once (and only
    		// calls enqueue on successively increasing versions of each dependency).
    		for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
Back to top