This is an automated email from the ASF dual-hosted git repository.
laurence pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git
The following commit(s) were added to refs/heads/master by this push:
new 16bc9b1 fix mesh route samples conf error (#285)
16bc9b1 is described below
commit 16bc9b12d9b21635332438d548b7c37bc5c3ce6b
Author: Mulavar <[email protected]>
AuthorDate: Fri Oct 29 18:49:27 2021 +0800
fix mesh route samples conf error (#285)
Co-authored-by: dongjianhui03 <[email protected]>
---
integrate_test/route/meshroute/tests/integration/main_test.go | 2 --
route/meshroute/go-server/conf/dubbogo.yml | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/integrate_test/route/meshroute/tests/integration/main_test.go
b/integrate_test/route/meshroute/tests/integration/main_test.go
index cec9df6..a6e844d 100644
--- a/integrate_test/route/meshroute/tests/integration/main_test.go
+++ b/integrate_test/route/meshroute/tests/integration/main_test.go
@@ -22,7 +22,6 @@ package integration
import (
"os"
"testing"
- "time"
)
import (
@@ -42,7 +41,6 @@ var (
func TestMain(m *testing.M) {
config.SetConsumerService(grpcGreeterImpl)
config.Load()
- time.Sleep(3 * time.Second)
os.Exit(m.Run())
}
diff --git a/route/meshroute/go-server/conf/dubbogo.yml
b/route/meshroute/go-server/conf/dubbogo.yml
index f8f98d1..2f3ce87 100644
--- a/route/meshroute/go-server/conf/dubbogo.yml
+++ b/route/meshroute/go-server/conf/dubbogo.yml
@@ -16,7 +16,7 @@ dubbo:
protocol-ids: triple
interface: com.apache.dubbo.sample.basic.IGreeter # must be compatible
with grpc or dubbo-java
params:
- env-sign: yyy
+ env-sign: zzz
config-center:
protocol: zookeeper
address: 127.0.0.1:2181