You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ba...@apache.org on 2020/05/26 03:22:56 UTC

[dubbo-go] branch feature/dubbo-2.7.5 updated: change test case method

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

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


The following commit(s) were added to refs/heads/feature/dubbo-2.7.5 by this push:
     new b364f31  change test case method
     new 9578fc0  Merge pull request #542 from zouyx/feature/addRegistryUnpub
b364f31 is described below

commit b364f31815af8067cee14b6e7f618011f59b95de
Author: Joe Zou <yi...@gmail.com>
AuthorDate: Tue May 26 00:42:20 2020 +0800

    change test case method
---
 registry/zookeeper/registry_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/registry/zookeeper/registry_test.go b/registry/zookeeper/registry_test.go
index 2e2602e..d915fc2 100644
--- a/registry/zookeeper/registry_test.go
+++ b/registry/zookeeper/registry_test.go
@@ -126,7 +126,7 @@ func Test_UnSubscribe(t *testing.T) {
 	}
 	assert.Regexp(t, ".*ServiceEvent{Action{add}.*", serviceEvent.String())
 
-	reg2.DoUnsubscribe(&url)
+	reg2.UnSubscribe(&url, nil)
 	assert.Nil(t, reg2.listener)
 
 	defer ts.Stop()