From 2affd568b18c8f1a5bbcd5f5b75172d5990510f1 Mon Sep 17 00:00:00 2001 From: baozhecheng Date: Wed, 10 Aug 2022 21:06:08 +0800 Subject: [PATCH] fix --- contrib/registry/nacos/registry_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/registry/nacos/registry_test.go b/contrib/registry/nacos/registry_test.go index 1910a68d8..59688e1cd 100644 --- a/contrib/registry/nacos/registry_test.go +++ b/contrib/registry/nacos/registry_test.go @@ -2,6 +2,8 @@ package nacos import ( "context" + "fmt" + "os/exec" "reflect" "testing" "time" @@ -14,6 +16,8 @@ import ( ) func TestRegistry_Register(t *testing.T) { + out := exec.Command("lsof-i:8848").String() + fmt.Println(out) sc := []constant.ServerConfig{ *constant.NewServerConfig("127.0.0.1", 8848), }