From ec06f21de8e95cc1304986d1c1a7f5e20029f7a4 Mon Sep 17 00:00:00 2001
From: Ming Deng <mindeng@ebay.com>
Date: Thu, 26 Sep 2019 15:28:56 +0800
Subject: [PATCH] Add log to debug UT

---
 cluster/router/condition_router_test.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cluster/router/condition_router_test.go b/cluster/router/condition_router_test.go
index e7534f959..7d8b0d88c 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))
-- 
GitLab