未验证 提交 be5ae128 编写于 作者: C Cai Yudong 提交者: GitHub

Update logutil test (#13352)

Signed-off-by: Nyudong.cai <yudong.cai@zilliz.com>
上级 f604d130
......@@ -33,14 +33,13 @@ package logutil
import (
"testing"
"github.com/milvus-io/milvus/internal/proxy"
"github.com/milvus-io/milvus/internal/log"
"github.com/stretchr/testify/assert"
)
func TestZapWrapper(t *testing.T) {
proxy.Params.Init()
SetupLogger(&proxy.Params.Log)
logCfg := &log.Config{}
SetupLogger(logCfg)
wrapper := GetZapWrapper()
assert.NotNil(t, wrapper)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册