fix/apollo
baozhecheng 2 years ago
parent a25bf5d00f
commit 2affd568b1
  1. 4
      contrib/registry/nacos/registry_test.go

@ -2,6 +2,8 @@ package nacos
import ( import (
"context" "context"
"fmt"
"os/exec"
"reflect" "reflect"
"testing" "testing"
"time" "time"
@ -14,6 +16,8 @@ import (
) )
func TestRegistry_Register(t *testing.T) { func TestRegistry_Register(t *testing.T) {
out := exec.Command("lsof-i:8848").String()
fmt.Println(out)
sc := []constant.ServerConfig{ sc := []constant.ServerConfig{
*constant.NewServerConfig("127.0.0.1", 8848), *constant.NewServerConfig("127.0.0.1", 8848),
} }

Loading…
Cancel
Save