From d1bcf7dc6ce275356a53e40005af01c9ce6397b5 Mon Sep 17 00:00:00 2001 From: disksing Date: Wed, 9 Jun 2021 12:03:32 +0800 Subject: [PATCH] store/tikv: cleanup dependency Signed-off-by: disksing --- store/tikv/tikv_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/store/tikv/tikv_test.go b/store/tikv/tikv_test.go index 1a4fc28fed7b9..8d25938cf0df2 100644 --- a/store/tikv/tikv_test.go +++ b/store/tikv/tikv_test.go @@ -14,12 +14,10 @@ package tikv import ( - "os" "testing" . "github.com/pingcap/check" "github.com/pingcap/tidb/store/tikv/mockstore" - "github.com/pingcap/tidb/util/logutil" ) type OneByOneSuite = mockstore.OneByOneSuite @@ -29,8 +27,6 @@ type testTiKVSuite struct { func TestT(t *testing.T) { CustomVerboseFlag = true - logLevel := os.Getenv("log_level") - logutil.InitLogger(logutil.NewLogConfig(logLevel, logutil.DefaultLogFormat, "", logutil.EmptyFileLogConfig, false)) TestingT(t) }