diff --git a/protocol/dubbo/dubbo_invoker_test.go b/protocol/dubbo/dubbo_invoker_test.go index 0a765356f7353829c8486fddba986e3a444441a1..d2553884d5a110b7af930db64e9e0767c2a4ec69 100644 --- a/protocol/dubbo/dubbo_invoker_test.go +++ b/protocol/dubbo/dubbo_invoker_test.go @@ -21,6 +21,8 @@ import ( "sync" "testing" "time" + + "github.com/apache/dubbo-go/common" ) import ( @@ -65,7 +67,7 @@ func TestDubboInvoker_Invoke(t *testing.T) { // AsyncCall lock := sync.Mutex{} lock.Lock() - inv.SetCallBack(func(response CallResponse) { + inv.SetCallBack(func(response common.CallResponse) { assert.Equal(t, User{Id: "1", Name: "username"}, *response.Reply.(*Response).reply.(*User)) lock.Unlock() })