diff options
author | monty@hundin.mysql.fi <> | 2001-07-17 22:59:14 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-07-17 22:59:14 +0300 |
commit | e3e51204ecdeb84f3f9a8685b504ecfec30e5ff7 (patch) | |
tree | adae23d022832ac2bee0a653c88137f823db19d6 /mysql-test/t/lock.test | |
parent | b051b3ab8d980fb98ce9821e339929a5f89c782c (diff) | |
download | mariadb-git-e3e51204ecdeb84f3f9a8685b504ecfec30e5ff7.tar.gz |
Added timeouts to make lock test repeatable
Diffstat (limited to 'mysql-test/t/lock.test')
-rw-r--r-- | mysql-test/t/lock.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/t/lock.test b/mysql-test/t/lock.test index 1eed6bb91e9..77354e63252 100644 --- a/mysql-test/t/lock.test +++ b/mysql-test/t/lock.test @@ -66,8 +66,10 @@ lock tables t1 write; connection writer; send update low_priority t1 set n = 4; connection reader; +--sleep 2 send select n from t1; connection locker; +--sleep 2 unlock tables; connection writer; reap; @@ -82,8 +84,10 @@ lock tables t1 read; connection writer; send update low_priority t1 set n = 4; connection reader; +--sleep 2 send select n from t1; connection locker; +--sleep 2 unlock tables; connection writer; reap; |