@ -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
- "8848:8848"
- "9848:9848"
- 8848:8848
- 9848:9848
polaris:
image: polarismesh/polaris-server-standalone:v1.9.0
@ -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),