From f8545f65b449113c602825ce6b27b0fdfc075b8d Mon Sep 17 00:00:00 2001 From: tld <8321268+tianluoding@user.noreply.gitee.com> Date: Wed, 14 Aug 2024 11:59:12 +0800 Subject: [PATCH] fix: one client one chan --- eventbus/eventbus_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eventbus/eventbus_test.go b/eventbus/eventbus_test.go index 94c6b31..a9b9fdf 100644 --- a/eventbus/eventbus_test.go +++ b/eventbus/eventbus_test.go @@ -83,7 +83,7 @@ func TestPublishConcurrent(t *testing.T) { bus := NewEventBus() testCh := make(chan Event, 10) eventName := "testEvent" - id := "testID" + id := "testID123" bus.Subscribe(id, eventName, testCh)