Skip to content

Commit

Permalink
tables: remove a useless test (#35125)
Browse files Browse the repository at this point in the history
ref #35103
  • Loading branch information
ekexium authored Jun 9, 2022
1 parent 4d8cf5e commit 6cd02fa
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions table/tables/tables_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"context"
"fmt"
"math"
"math/rand"
"strconv"
"testing"
"time"
Expand Down Expand Up @@ -957,17 +956,3 @@ func TestTxnAssertion(t *testing.T) {
testUntouchedIndexImpl("OFF", false)
testUntouchedIndexImpl("OFF", true)
}

func TestReuseColumnMapsInMutationChecker(t *testing.T) {
store, clean := testkit.CreateMockStore(t)
defer clean()
tk := testkit.NewTestKit(t, store)
tk.MustExec("use test")
tk.MustExec("create table t (a int, b int, c int, primary key(a))")
tk.MustExec("create table t_2 (a int, b int, c int, primary key(a))")
for i := 0; i < 1000; i++ {
tk.MustExec(fmt.Sprintf("insert into t values(%d, %d, %d)", i, rand.Int()%10000, rand.Int()%10000))
}
tk.MustExec("set @@tidb_enable_mutation_checker=1")
tk.MustExec("insert into t_2 select * from t")
}

0 comments on commit 6cd02fa

Please sign in to comment.