From 12ff0f6594c20120eae56dce50f9a015bb9eaa9d Mon Sep 17 00:00:00 2001 From: lizhipeng <lizhipeng1@huya.com> Date: Mon, 11 May 2020 21:02:05 +0800 Subject: [PATCH] fix impl_test error --- config_center/nacos/impl_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/config_center/nacos/impl_test.go b/config_center/nacos/impl_test.go index b74c155d9..b0a54b8d3 100644 --- a/config_center/nacos/impl_test.go +++ b/config_center/nacos/impl_test.go @@ -132,8 +132,6 @@ func Test_AddListener(t *testing.T) { listener := &mockDataListener{} time.Sleep(time.Second * 2) nacos.AddListener("dubbo.properties", listener) - listener.wg.Add(1) - listener.wg.Wait() } func Test_RemoveListener(t *testing.T) { -- GitLab