Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestWatchControllers (0.2 sec)

  1. pkg/controller/replicaset/replica_set_test.go

    		if !reflect.DeepEqual(actualPodNames, c.expectedPodNames) {
    			t.Errorf("Got [%s]; expected [%s]", strings.Join(actualPodNames, ", "), strings.Join(c.expectedPodNames, ", "))
    		}
    	}
    }
    
    func TestWatchControllers(t *testing.T) {
    
    	fakeWatch := watch.NewFake()
    	client := fake.NewSimpleClientset()
    	client.PrependWatchReactor("replicasets", core.DefaultWatchReactor(fakeWatch, nil))
    	stopCh := make(chan struct{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
Back to top