fix/apollo
baozhecheng 2 years ago
parent 1e0a3c04be
commit 0ac2cea598
  1. 6
      .github/workflows/go.yml
  2. 6
      contrib/registry/nacos/registry_test.go

@ -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:

@ -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),
}

Loading…
Cancel
Save