- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestBufferedBackendProcessEventsAfterStop (0.53 sec)
-
staging/src/k8s.io/apiserver/plugin/pkg/audit/buffered/buffered_test.go
wg.Add(1) go func() { defer wg.Done() batch = backend.collectEvents(nil, stopCh) }() close(stopCh) wg.Wait() assert.Empty(t, batch, "Empty final batch") } func TestBufferedBackendProcessEventsAfterStop(t *testing.T) { t.Parallel() backend := NewBackend(&fake.Backend{}, testBatchConfig()).(*bufferedBackend) closedStopCh := make(chan struct{}) close(closedStopCh)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 14 17:20:35 UTC 2018 - 5.9K bytes - Viewed (0)