Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestJwtPubKeyEvictionForNotUsed (0.51 sec)

  1. pilot/pkg/model/jwks_resolver_test.go

    	_, err = r.GetPublicKey("", mockCertURL, testRequestTimeout)
    	if err == nil {
    		t.Errorf("GetPublicKey(\"\", %+v) did not fail: expected https unsupported error, got no error", mockCertURL)
    	}
    }
    
    func TestJwtPubKeyEvictionForNotUsed(t *testing.T) {
    	r := NewJwksResolver(
    		100*time.Millisecond, /*EvictionDuration*/
    		2*time.Millisecond,   /*RefreshInterval*/
    		2*time.Millisecond,   /*RefreshIntervalOnFailure*/
    		testRetryInterval,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top