Skip to content

Commit 3043583

Browse files
committed
refine
Signed-off-by: wjhuang2016 <[email protected]>
1 parent b889872 commit 3043583

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ddl/ddl_ops.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ func (c *testCase) execParaDDLSQL(taskCh chan *ddlJobTask, num int) error {
561561
// Wait for other gorountine to update
562562
globalDDLSeqNumMu.Unlock()
563563
time.Sleep(5 * time.Millisecond)
564-
if time.Since(startTs) >= 10*time.Second && rand.Intn(10) == 0 {
564+
if time.Since(startTs) >= 10*time.Second && rand.Intn(100) == 0 {
565565
log.Errorf("wait for updating seq_num timeout, seq_num:%d, globalDDLSeqNum:%d", seqNum, globalDDLSeqNum)
566566
}
567567
} else {

ddl/run.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ var ddlIgnoreList = []string{
229229
"Unsupported",
230230
"context canceled",
231231
"cancelled by user",
232+
"error msg: injected random error, caller: github.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession",
232233
}
233234

234235
func ddlIgnoreError(err error) bool {

0 commit comments

Comments
 (0)