You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2025/08/26 01:44:48 UTC

(dubbo-go) branch develop updated: fix(apollo): delete the generation of configuration files (#2985)

This is an automated email from the ASF dual-hosted git repository.

alexstocks pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git


The following commit(s) were added to refs/heads/develop by this push:
     new f1a6afe30 fix(apollo): delete the generation of configuration files (#2985)
f1a6afe30 is described below

commit f1a6afe30c22d3090e32d2669e0a9b51810c50c9
Author: marsevilspirit <ma...@gmail.com>
AuthorDate: Tue Aug 26 09:44:42 2025 +0800

    fix(apollo): delete the generation of configuration files (#2985)
    
    * fix(apollo): fix the generation of configuration files when running unit tests in Apollo
    
    * style(fmt): make fmt
---
 config_center/apollo/impl_test.go | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/config_center/apollo/impl_test.go b/config_center/apollo/impl_test.go
index b2fa61d40..a9ac778f8 100644
--- a/config_center/apollo/impl_test.go
+++ b/config_center/apollo/impl_test.go
@@ -178,6 +178,9 @@ func initMockApollo(t *testing.T) *apolloConfiguration {
 		AppID:     "testApplication_yang",
 		Cluster:   "dev",
 		Namespace: "mockDubbogo.yaml",
+		Params: map[string]string{
+			"config-center.isBackupConfig": "false",
+		},
 	}}
 	apollo := initApollo()
 	apolloUrl := strings.ReplaceAll(apollo.URL, "http", "apollo")