From 186c6acbfed425422f41ed98630916809e993d9f Mon Sep 17 00:00:00 2001 From: Feng Liyuan Date: Tue, 5 Nov 2019 11:49:20 +0800 Subject: [PATCH] executor: fix data race in TestAnalyzeFastSample (#13130) --- executor/analyze_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/executor/analyze_test.go b/executor/analyze_test.go index 1520d0b9126eb..d9da61bc15b81 100644 --- a/executor/analyze_test.go +++ b/executor/analyze_test.go @@ -178,7 +178,7 @@ func (s *testSuite1) TestAnalyzeTooLongColumns(c *C) { c.Assert(tbl.Columns[1].TotColSize, Equals, int64(65559)) } -func (s *testSuite1) TestAnalyzeFastSample(c *C) { +func (s *testFastAnalyze) TestAnalyzeFastSample(c *C) { cluster := mocktikv.NewCluster() mocktikv.BootstrapWithSingleStore(cluster) store, err := mockstore.NewMockTikvStore(