ddl: fix unstable test in the TestCancel (#36583)
ddl: fix unstable test in the TestCancel (#36583)

close pingcap/tidb#36582
pingcap/tidb,pingcap/tidb,pingcap/tidb,pingcap/tidb,pingcap/tidb,pingcap/tidb