From e0e8e7924d75f9f154a8cdb727af5e853c408048 Mon Sep 17 00:00:00 2001 From: Fae Charlton Date: Fri, 26 May 2023 16:56:10 -0400 Subject: [PATCH] add more subscribers to test --- internal/pkg/agent/application/coordinator/coordinator_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/pkg/agent/application/coordinator/coordinator_test.go b/internal/pkg/agent/application/coordinator/coordinator_test.go index 357d65edba..cd813e7a92 100644 --- a/internal/pkg/agent/application/coordinator/coordinator_test.go +++ b/internal/pkg/agent/application/coordinator/coordinator_test.go @@ -341,6 +341,8 @@ func TestCoordinator_StateSubscribe_BlockedSubscriber(t *testing.T) { // active subscriber that will. This is to test that congestion in some // subscribers will not block state updates to others. coord.StateSubscribe(ctx) + coord.StateSubscribe(ctx) + coord.StateSubscribe(ctx) activeSub := coord.StateSubscribe(ctx) stateChangeCount := 0 for {