Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for verifyFunc (0.15 sec)

  1. pkg/controller/bootstrap/tokencleaner_test.go

    	secrets.Informer().GetIndexer().Add(secret)
    	cleaner.enqueueSecrets(secret)
    	expected := []core.Action{}
    	verifyFunc := func() {
    		cleaner.processNextWorkItem(context.TODO())
    		verifyActions(t, expected, cl.Actions())
    	}
    	// token has not expired currently
    	verifyFunc()
    
    	if cleaner.queue.Len() != 0 {
    		t.Errorf("not using the queue, the length should be 0, now: %v", cleaner.queue.Len())
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top