diff --git a/testcase/bank2/client.go b/testcase/bank2/client.go index aefac696..6e751cbf 100644 --- a/testcase/bank2/client.go +++ b/testcase/bank2/client.go @@ -330,7 +330,10 @@ func (c *bank2Client) verify(db *sql.DB) { if strings.Contains(errStr, "1105") && !(strings.Contains(errStr, "cancelled DDL job") || strings.Contains(errStr, "Information schema is changed") || - strings.Contains(errStr, "TiKV server timeout")) { + strings.Contains(errStr, "TiKV server timeout") || + strings.Contains(errStr, "redirect failed") || + strings.Contains(errStr, "no leader") || + strings.Contains(errStr, "injected")) { atomic.StoreInt32(&c.stop, 1) c.wg.Wait() log.Fatalf("[%s] ADMIN CHECK TABLE bank2_accounts fails: %v", c, err)