@@ -724,6 +724,7 @@ func TestExchangePartitionStates(t *testing.T) {
724
724
tk .MustExec (`insert into t values (1, "1")` )
725
725
tk .MustExec (`insert into tp values (2, "2")` )
726
726
tk .MustExec (`analyze table t,tp` )
727
+ tk .MustQuery (`select * from information_schema.global_variables` ).Check (testkit .Rows ())
727
728
var wg sync.WaitGroup
728
729
wg .Add (1 )
729
730
dumpChan := make (chan struct {})
@@ -735,7 +736,7 @@ func TestExchangePartitionStates(t *testing.T) {
735
736
tk .MustExec ("BEGIN" )
736
737
tk .MustQuery (`select * from t` ).Check (testkit .Rows ("1 1" ))
737
738
tk .MustQuery (`select * from tp` ).Check (testkit .Rows ("2 2" ))
738
- require .NoError (t , failpoint .Enable ("github.com/pingcap/tidb/ddl/exchangePartitionAutoID" , `pause` ))
739
+ // require.NoError(t, failpoint.Enable("github.com/pingcap/tidb/ddl/exchangePartitionAutoID", `pause`))
739
740
alterChan := make (chan error )
740
741
go func () {
741
742
// WITH VALIDATION is the default
@@ -769,7 +770,7 @@ func TestExchangePartitionStates(t *testing.T) {
769
770
// MDL will block the alter to not continue until all clients
770
771
// are in StateWriteOnly, which tk is blocking until it commits
771
772
tk .MustExec (`COMMIT` )
772
- require .NoError (t , failpoint .Disable ("github.com/pingcap/tidb/ddl/exchangePartitionAutoID" ))
773
+ // require.NoError(t, failpoint.Disable("github.com/pingcap/tidb/ddl/exchangePartitionAutoID"))
773
774
waitFor ("t" , "rollback done" , 11 )
774
775
// MDL will block the alter from finish, tk is in 'rollbacked' schema version
775
776
// but the alter is still waiting for tk3 to commit, before continuing
0 commit comments