Skip to content

Commit b7f8943

Browse files
committed
Updated test to testify
1 parent c16ec51 commit b7f8943

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

planner/core/partition_pruner_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -591,10 +591,11 @@ func TestHashPartitionPruning(t *testing.T) {
591591
tk.MustQuery("SELECT col1, COL3 FROM t WHERE COL1 IN (0,14158354938390,0) AND COL3 IN (3522101843073676459,-2846203247576845955,838395691793635638);").Check(testkit.Rows("0 3522101843073676459"))
592592
}
593593

594-
func (s *testPartitionPruneSuit) TestIssue32007(c *C) {
595-
tk := testkit.NewTestKit(c, s.store)
594+
func TestIssue32007(t *testing.T) {
595+
store, clean := testkit.CreateMockStore(t)
596+
defer clean()
597+
tk := testkit.NewTestKit(t, store)
596598
tk.MustExec("create database Issue32007")
597-
defer tk.MustExec("drop database Issue32007")
598599
tk.MustExec("USE Issue32007")
599600
tk.MustExec("create table t1 (a int, b tinyint, primary key (a)) partition by range (a) (" +
600601
"partition p0 values less than (5)," +

0 commit comments

Comments
 (0)