Skip to content

Commit

Permalink
fix false positive admin check table in bank2 again (#403)
Browse files Browse the repository at this point in the history
* fix false positive admin check table in bank2 again

* update
  • Loading branch information
Thearas authored Apr 19, 2021
1 parent d96af02 commit e772728
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion testcase/bank2/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e772728

Please sign in to comment.