Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator_test.go

    		bKey = key
    	})
    
    	b.Run("nil audiences", func(b *testing.B) {
    		var key string
    		for n := 0; n < b.N; n++ {
    			key = keyFunc(hashPool, nil, jwtToken)
    		}
    		bKey = key
    	})
    }
    
    func TestSharedLookup(t *testing.T) {
    	var chewie = &authenticator.Response{User: &user.DefaultInfo{Name: "chewbacca"}}
    
    	t.Run("actually shared", func(t *testing.T) {
    		var lookups uint32
    		c := make(chan struct{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 20.3K bytes
    - Viewed (0)
Back to top