pingcap / tipocket

A toolkit for testing TiDB
https://github.com/pingcap/tipocket
Apache License 2.0
140 stars 71 forks source link

add error stack for resolve-lock test #433

Closed youjiali1995 closed 3 years ago

youjiali1995 commented 3 years ago

Signed-off-by: youjiali1995 zlwgx1023@gmail.com

  1. Add the error stack to distinguish the failure cause easily.
  2. Don't keep running the test if PD is down.
youjiali1995 commented 3 years ago

I changed the way to handle PD's EOF error accoriding to @vivid392845427 words. Now if the test gets the EOF error, it will backoff for a while and if backoff times out, the test finishes with sucess to avoid false-negative caused by the test environment. @zyguan @vivid392845427

vivid392845427 commented 3 years ago

LGTM