AlexStocks commented on PR #1924:
URL: https://github.com/apache/dubbo-go/pull/1924#issuecomment-1150670838
@zgs225 the github apollo config unit test case failed, pls fix it.
```bash
ok dubbo.apache.org/dubbo-go/v3/config_center 0.006s coverage: 9.1%
of statements
2022-06-08T11:23:11.802Z INFO apollo/impl.go:70 [Apollo
ConfigCenter] New Apollo ConfigCenter with Configuration:
&{AppID:testApplication_yang Cluster:dev NamespaceName:mockDubbogo.yaml
IP:http://127.0.0.1:37699/ NextTryConnTime:0 IsBackupConfig:true
BackupConfigPath: Secret:}, url =
apollo://127.0.0.1:37699?config-center.appId=testApplication_yang&config-center.cluster=dev&config-center.group=&config-center.namespace=mockDubbogo.yaml&config-center.timeout=&remote-client-name=dubbo.config-center-apollo-106.12.25.204%3A8080
2022-06-08T11:23:11.803Z INFO apollo/impl.go:70 [Apollo
ConfigCenter] New Apollo ConfigCenter with Configuration:
&{AppID:testApplication_yang Cluster:dev NamespaceName:mockDubbogo.yaml
IP:http://127.0.0.1:37193/ NextTryConnTime:0 IsBackupConfig:true
BackupConfigPath: Secret:}, url =
apollo://127.0.0.1:37193?config-center.appId=testApplication_yang&config-center.cluster=dev&config-center.group=&config-center.namespace=mockDubbogo.yaml&config-center.timeout=&remote-client-name=dubbo.config-center-apollo-106.12.25.204%3A8080
2022-06-08T11:23:11.804Z INFO apollo/impl.go:70 [Apollo
ConfigCenter] New Apollo ConfigCenter with Configuration:
&{AppID:testApplication_yang Cluster:dev NamespaceName:mockDubbogo.yaml
IP:http://127.0.0.1:37649/ NextTryConnTime:0 IsBackupConfig:true
BackupConfigPath: Secret:}, url =
apollo://127.0.0.1:37649?config-center.appId=testApplication_yang&config-center.cluster=dev&config-center.group=&config-center.namespace=mockDubbogo.yaml&config-center.timeout=&remote-client-name=dubbo.config-center-apollo-106.12.25.204%3A8080
panic: sync: negative WaitGroup counter
goroutine 131 [running]:
sync.(*WaitGroup).Add(0xc0002891d0, 0xffffffffffffffff)
/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:74 +0x147
sync.(*WaitGroup).Done(...)
/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:99
dubbo.apache.org/dubbo-go/v3/config_center/apollo.(*apolloDataListener).Process(0xc0002891d0,
0xc0005d2c00)
/home/runner/work/dubbo-go/dubbo-go/config_center/apollo/impl_test.go:213 +0x45
dubbo.apache.org/dubbo-go/v3/config_center/apollo.(*apolloListener).OnNewestChange(0xc000010300,
0xc00011dac0)
/home/runner/work/dubbo-go/dubbo-go/config_center/apollo/listener.go:58
+0x12d
created by github.com/zouyx/agollo/v3/storage.pushNewestChanges.func1
/home/runner/go/pkg/mod/github.com/zouyx/agollo/[email protected]/storage/change_event.go:112
+0x4c
FAIL dubbo.apache.org/dubbo-go/v3/config_center/apollo 2.025s
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]