Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestWithExponentialBackoff (0.14 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/webhook/webhook_test.go

    	select {
    	case <-time.After(time.Second * 5):
    		t.Errorf("expected request to timeout after %s", requestTimeout)
    	case <-resultCh:
    	}
    }
    
    // TestWithExponentialBackoff ensures that the webhook's exponential backoff support works as expected
    func TestWithExponentialBackoff(t *testing.T) {
    	count := 0 // To keep track of the requests
    	gr := schema.GroupResource{
    		Group:    "webhook.util.k8s.io",
    		Resource: "test",
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 25.8K bytes
    - Viewed (0)
Back to top