Skip to content

Commit

Permalink
fix false positive admin check table in bank2 again
Browse files Browse the repository at this point in the history
  • Loading branch information
Thearas committed Apr 16, 2021
1 parent bb018c3 commit 6a365bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testcase/bank2/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,8 @@ 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")) {
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 6a365bf

Please sign in to comment.