Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getRootCertRotator (0.13 sec)

  1. security/pkg/pki/ca/selfsignedcarootcertrotator_test.go

    // TestJitterConfiguration tests the setup of jitter
    func TestJitterConfiguration(t *testing.T) {
    	enableJitterOpts := getDefaultSelfSignedIstioCAOptions(nil)
    	enableJitterOpts.RotatorConfig.enableJitter = true
    	rotator0 := getRootCertRotator(enableJitterOpts)
    	if rotator0.backOffTime < time.Duration(0) {
    		t.Errorf("back off time should be zero or positive but got %v", rotator0.backOffTime)
    	}
    	if rotator0.backOffTime >= rotator0.config.CheckInterval {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 23:33:41 UTC 2023
    - 14.1K bytes
    - Viewed (0)
Back to top