зеркало из https://github.com/github/vitess-gh.git
Add rollback to ignored transactions. Rollbacks can occur if a context times out
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
This commit is contained in:
Родитель
8f3205b8d7
Коммит
ca2954cdbd
|
@ -497,7 +497,7 @@ func expectNontxQueries(t *testing.T, queries []string) {
|
|||
retry:
|
||||
select {
|
||||
case got = <-globalDBQueries:
|
||||
if got == "begin" || got == "commit" || strings.Contains(got, "_vt.vreplication") {
|
||||
if got == "begin" || got == "commit" || got == "rollback" ||strings.Contains(got, "_vt.vreplication") {
|
||||
goto retry
|
||||
}
|
||||
var match bool
|
||||
|
|
Загрузка…
Ссылка в новой задаче