Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for podMounts (0.12 sec)

  1. pkg/controller/deployment/deployment_controller_test.go

    	podMap, err := c.getPodMapForDeployment(d, f.rsLister)
    	if err != nil {
    		t.Fatalf("getPodMapForDeployment() error: %v", err)
    	}
    	podCount := 0
    	for _, podList := range podMap {
    		podCount += len(podList)
    	}
    	if got, want := podCount, 3; got != want {
    		t.Errorf("podCount = %v, want %v", got, want)
    	}
    
    	if got, want := len(podMap), 2; got != want {
    		t.Errorf("len(podMap) = %v, want %v", got, want)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    			// copied from pred.Limit).
    			// The expected number of calls is n+1 where n is the smallest n so that:
    			// pageSize + pageSize * 2 + pageSize * 4 + ... + pageSize * 2^n >= podCount.
    			// For pageSize = 1, podCount = 1000, we get n+1 = 10, 2 ^ 10 = 1024.
    			currLimit := pageSize
    			for sum := uint64(1); sum < estimatedProcessedObjects; {
    				currLimit *= 2
    				if currLimit > maxLimit {
    					currLimit = maxLimit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top