- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestSubscribeExceedingLimit (0.14 sec)
-
internal/pubsub/pubsub_test.go
t.Fatalf("want %d subscribers, got %d", want, got) } if want, got := int32(0), ps.NumSubscribers(Mask(4)); got != want { t.Fatalf("want %d subscribers, got %d", want, got) } } func TestSubscribeExceedingLimit(t *testing.T) { ps := New[Maskable, Maskable](2) ch1 := make(chan Maskable, 1) ch2 := make(chan Maskable, 1) ch3 := make(chan Maskable, 1) doneCh := make(chan struct{}) defer close(doneCh)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 5.8K bytes - Viewed (0)