- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestSimpleCache (0.12 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/cache_test.go
f() wg.Done() }() } wg.Wait() allocs := testing.AllocsPerRun(100, f) if allocs > 1 { t.Errorf("Expected 1 allocations, got %v", allocs) } }) } func TestSimpleCache(t *testing.T) { fakeClock := testingclock.NewFakeClock(time.Now()) cache := newSimpleCache(fakeClock, 5*time.Second, "providerName") transformer := &envelopeTransformer{} wg := sync.WaitGroup{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 31 20:26:58 UTC 2023 - 4.9K bytes - Viewed (0)