Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestStatefulPodControlCreatePodPvcGetFailure (0.35 sec)

  1. pkg/controller/statefulset/stateful_pod_control_test.go

    }
    
    type fakeIndexer struct {
    	cache.Indexer
    	getError error
    }
    
    func (f *fakeIndexer) GetByKey(key string) (interface{}, bool, error) {
    	return nil, false, f.getError
    }
    
    func TestStatefulPodControlCreatePodPvcGetFailure(t *testing.T) {
    	recorder := record.NewFakeRecorder(10)
    	set := newStatefulSet(3)
    	pod := newStatefulSetPod(set, 0)
    	fakeClient := &fake.Clientset{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 35.5K bytes
    - Viewed (0)
Back to top