diff --git a/cluster/router/condition_router_test.go b/cluster/router/condition_router_test.go index e7534f95959fc6737e1c52a950d0789bb431484d..7d8b0d88cab688e6ea10d1562a27de4609d51f58 100644 --- a/cluster/router/condition_router_test.go +++ b/cluster/router/condition_router_test.go @@ -147,6 +147,7 @@ func TestRoute_matchWhen(t *testing.T) { func TestRoute_matchFilter(t *testing.T) { localIP, _ := gxnet.GetLocalIP() + t.Logf("The local ip is %s", localIP) url1, _ := common.NewURL(context.TODO(), "dubbo://10.20.3.3:20880/com.foo.BarService?default.serialization=fastjson") url2, _ := common.NewURL(context.TODO(), fmt.Sprintf("dubbo://%s:20880/com.foo.BarService", localIP)) url3, _ := common.NewURL(context.TODO(), fmt.Sprintf("dubbo://%s:20880/com.foo.BarService", localIP))