diff options
author | unknown <knielsen@knielsen-hq.org> | 2010-12-08 14:34:08 +0100 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2010-12-08 14:34:08 +0100 |
commit | 1bbb55a2603f3571585cc085f05149d3d9cdbdba (patch) | |
tree | c2903bf71e15c7e46607822d8347709a4c56f087 /mysys/thr_lock.c | |
parent | adb9fd9578f61a73ae224ede3bcb7adef863c1e3 (diff) | |
download | mariadb-git-1bbb55a2603f3571585cc085f05149d3d9cdbdba.tar.gz |
MBug#687320: Fix sporadic test failures in innodb_mysql.test and partition_innodb_semi_consistent.test
Problem is that these tests run with --innodb-lock-wait-timeout=2 in .opt
(and this is necessary as built-in innodb does not allow to change this
dynamically). This cases another part of the test to occasionally time
out an UPDATE, which subsequently caused the test case to timeout due to
waiting for a condition (successful UPDATE) that never occurs.
Fixed by re-trying the update in case of timeout.
Tested by inserting a sleep() in the connection that the UPDATE is waiting
for, and checking that the retry loops a couple of times until the other
connection is done and COMMITs.
Diffstat (limited to 'mysys/thr_lock.c')
0 files changed, 0 insertions, 0 deletions