Skip to content
Snippets Groups Projects
Commit 83a3ab5c authored by mark4z's avatar mark4z
Browse files

Enable Nacos registry local cache

parent 804b73e1
No related branches found
No related tags found
No related merge requests found
......@@ -23,19 +23,22 @@ import (
"strconv"
"strings"
"time"
)
import (
"github.com/nacos-group/nacos-sdk-go/clients"
"github.com/nacos-group/nacos-sdk-go/clients/naming_client"
nacosConstant "github.com/nacos-group/nacos-sdk-go/common/constant"
"github.com/nacos-group/nacos-sdk-go/vo"
perrors "github.com/pkg/errors"
)
import (
"github.com/apache/dubbo-go/common"
"github.com/apache/dubbo-go/common/constant"
"github.com/apache/dubbo-go/common/extension"
"github.com/apache/dubbo-go/common/logger"
"github.com/apache/dubbo-go/registry"
perrors "github.com/pkg/errors"
)
var (
......
......@@ -24,13 +24,18 @@ import (
"strconv"
"testing"
"time"
)
"github.com/apache/dubbo-go/common"
"github.com/apache/dubbo-go/common/constant"
import (
"github.com/nacos-group/nacos-sdk-go/vo"
"github.com/stretchr/testify/assert"
)
import (
"github.com/apache/dubbo-go/common"
"github.com/apache/dubbo-go/common/constant"
)
func TestNacosRegistry_Register(t *testing.T) {
if !checkNacosServerAlive() {
return
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment