diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 1227a0def..28f3560c3 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -29,12 +29,12 @@ jobs: ports: - 8500:8500 nacos: - image: nacos/nacos-server:v2.1.1 + image: nacos/nacos-server:v1.4.4 env: MODE: standalone ports: - - "8848:8848" - - "9848:9848" + - 8848:8848 + - 9848:9848 polaris: image: polarismesh/polaris-server-standalone:v1.9.0 ports: diff --git a/contrib/registry/nacos/registry_test.go b/contrib/registry/nacos/registry_test.go index 11e1a4de0..1910a68d8 100644 --- a/contrib/registry/nacos/registry_test.go +++ b/contrib/registry/nacos/registry_test.go @@ -2,7 +2,6 @@ package nacos import ( "context" - "net" "reflect" "testing" "time" @@ -15,11 +14,6 @@ import ( ) func TestRegistry_Register(t *testing.T) { - dial, err := net.Dial("tcp", "127.0.0.1:8848") - if err != nil { - t.Fatal(err) - } - t.Log(dial) sc := []constant.ServerConfig{ *constant.NewServerConfig("127.0.0.1", 8848), }