Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestRetryOnConflictError (0.16 sec)

  1. pkg/controller/namespace/deletion/namespaced_resources_deleter_test.go

    					if nsCondition == nil {
    						t.Fatalf("Missing namespace status condition %v", expCondition.Type)
    					}
    				}
    			}
    		})
    	}
    }
    
    func TestRetryOnConflictError(t *testing.T) {
    	mockClient := &fake.Clientset{}
    	numTries := 0
    	retryOnce := func(ctx context.Context, namespace *v1.Namespace) (*v1.Namespace, error) {
    		numTries++
    		if numTries <= 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 15.8K bytes
    - Viewed (0)
Back to top