diff --git a/registry/consul/utils_test.go b/registry/consul/utils_test.go index ce6e5fc77835b7455f71d809221ee7cf19473e7f..dd4167d498da439256e98a9f99e255d6f4ba3f5f 100644 --- a/registry/consul/utils_test.go +++ b/registry/consul/utils_test.go @@ -29,13 +29,13 @@ import ( ) import ( - "github.com/apache/dubbo-go/common" - "github.com/apache/dubbo-go/common/constant" - "github.com/apache/dubbo-go/registry" + "github.com/hashicorp/consul/agent" ) import ( - "github.com/hashicorp/consul/agent" + "github.com/apache/dubbo-go/common" + "github.com/apache/dubbo-go/common/constant" + "github.com/apache/dubbo-go/registry" ) var ( diff --git a/registry/nacos/registry_test.go b/registry/nacos/registry_test.go index 97dea0d2b016c8f84ee7cf6f4856ba545b720a48..953f439ccd04be70b0b77b4c3ebea6f4de599d94 100644 --- a/registry/nacos/registry_test.go +++ b/registry/nacos/registry_test.go @@ -139,7 +139,7 @@ func TestNacosRegistry_Subscribe_del(t *testing.T) { assert.Regexp(t, ".*ServiceEvent{Action{add}.*", serviceEvent2.String()) nacosReg := reg.(*nacosRegistry) - //deregister instance to mock instance offline + //deregister instance to mock instance offline nacosReg.namingClient.DeregisterInstance(vo.DeregisterInstanceParam{Ip: "127.0.0.2", Port: 20000, ServiceName: "providers:com.ikurento.user.UserProvider:1.0.0:guangzhou-idc"}) serviceEvent3, _ := listener.Next()