Skip to content

Commit 8a495d3

Browse files
committed
初始化config
1 parent 78e519e commit 8a495d3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

server/datasource/etcd/kv/kv_cache_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"testing"
55

66
"github.com/go-chassis/etcdadpt"
7+
"github.com/go-chassis/go-archaius"
78
"github.com/stretchr/testify/assert"
89
"go.etcd.io/etcd/api/v3/mvccpb"
910
)
@@ -12,6 +13,10 @@ type args struct {
1213
rsp *etcdadpt.Response
1314
}
1415

16+
func init() {
17+
archaius.Init()
18+
}
19+
1520
func TestCachePut(t *testing.T) {
1621
tests := []struct {
1722
name string

0 commit comments

Comments
 (0)