Skip to content
Snippets Groups Projects
Commit 5c05d1c2 authored by 高辛格's avatar 高辛格
Browse files

fix typo

parent 11032c5f
No related branches found
No related tags found
No related merge requests found
......@@ -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 (
......
......@@ -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()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment