Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for expectedCount (0.23 sec)

  1. src/crypto/tls/tls_test.go

    	c2.UnwrapSession(nil, ConnectionState{})
    	c2.WrapSession(ConnectionState{}, nil)
    	c2.EncryptedClientHelloRejectionVerify(ConnectionState{})
    
    	if called != (1<<expectedCount)-1 {
    		t.Fatalf("expected %d calls but saw calls %b", expectedCount, called)
    	}
    }
    
    func TestCloneNonFuncFields(t *testing.T) {
    	var c1 Config
    	v := reflect.ValueOf(&c1).Elem()
    
    	typ := v.Type()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    			expectedOut: []example.Pod{*fooObj, *fooBarObj},
    		},
    		{
    			name:        "NonRecursive on object key (prefix) returns object and no other objects with the same prefix",
    			key:         fooKey,
    			recursive:   false,
    			expectedOut: []example.Pod{*fooObj},
    		},
    		{
    			name:        "Recursive on object key (prefix) doesn't return anything",
    			key:         fooKey,
    			recursive:   true,
    			expectedOut: []example.Pod{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    			found := false
    			if podsInDSW[types.UniquePodName(pod.UID)] {
    				found = true
    			}
    
    			if found != tc.expectedFound {
    				t.Fatalf(
    					"Pod with uid %v has expectedFound value %v in pods in DSW %v",
    					pod.UID, tc.expectedFound, podsInDSW)
    			}
    		})
    	}
    }
    
    func TestFindAndAddNewPods_WithReprocessPodAndVolumeRetrievalError(t *testing.T) {
    	// create dswp
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    			provisionedPVCs: []*v1.PersistentVolumeClaim{},
    			expectedBound:   true,
    		},
    		"binding-bound": {
    			bindings:        []*BindingInfo{makeBinding(unboundPVC, pvNode1aBound)},
    			provisionedPVCs: []*v1.PersistentVolumeClaim{},
    			initPVs:         []*v1.PersistentVolume{pvNode1aBound},
    			initPVCs:        []*v1.PersistentVolumeClaim{boundPVCNode1a},
    			expectedBound:   true,
    		},
    		"binding-prebound": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top