- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestBroadcasterSendEventAfterShutdown (0.56 sec)
-
staging/src/k8s.io/apimachinery/pkg/watch/mux_test.go
_, err = m.WatchWithPrefix([]Event{event1, event2}) assert.EqualError(t, err, "broadcaster already stopped", "WatchWithPrefix should report error id broadcaster is shutdown") } func TestBroadcasterSendEventAfterShutdown(t *testing.T) { m := NewBroadcaster(1, DropIfChannelFull) event := Event{Type: Added, Object: &myType{"foo", "hello world"}} // Add a couple watchers watches := make([]Interface, 2)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 16 15:26:25 UTC 2022 - 8K bytes - Viewed (0)