diff --git a/internal/logutil/logutil_test.go b/internal/logutil/logutil_test.go index 3c75891d9a5bf26fc937b8681f3db1c1118649d7..1e5f0ba8fce11bac64028c7f8c0823683c94ca8f 100644 --- a/internal/logutil/logutil_test.go +++ b/internal/logutil/logutil_test.go @@ -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)