From bbb70be448d4087773cdff3fb91da68f2cc1fccc Mon Sep 17 00:00:00 2001 From: Lonng Date: Sun, 1 Sep 2019 09:08:12 +0800 Subject: [PATCH] executor: uncomment the BatchPointGet unit tests (#11962) Signed-off-by: Lonng --- executor/batch_point_get_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/executor/batch_point_get_test.go b/executor/batch_point_get_test.go index 1efdde70aa..be0f10af28 100644 --- a/executor/batch_point_get_test.go +++ b/executor/batch_point_get_test.go @@ -20,6 +20,7 @@ import ( "github.com/pingcap/tidb/kv" "github.com/pingcap/tidb/session" "github.com/pingcap/tidb/store/mockstore" + "github.com/pingcap/tidb/util/testkit" ) type testBatchPointGetSuite struct { @@ -56,7 +57,7 @@ func (s *testBatchPointGetSuite) TearDownSuite(c *C) { } func (s *testBatchPointGetSuite) TestBatchPointGetExec(c *C) { - /*tk := testkit.NewTestKit(c, s.store) + tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") tk.MustExec("drop table if exists t") tk.MustExec("create table t(a int primary key auto_increment not null, b int, c int, unique key idx_abc(a, b, c))") @@ -97,5 +98,5 @@ func (s *testBatchPointGetSuite) TestBatchPointGetExec(c *C) { "1", "2", "4", - ))*/ + )) }