Skip to content

Commit

Permalink
remove the useless test
Browse files Browse the repository at this point in the history
Signed-off-by: ekexium <[email protected]>
  • Loading branch information
ekexium committed Jun 2, 2022
1 parent 938ce01 commit fd5e5da
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 fd5e5da

Please sign in to comment.