summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/t/innodb_sys_semaphore_waits.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/innodb/t/innodb_sys_semaphore_waits.test')
-rw-r--r--mysql-test/suite/innodb/t/innodb_sys_semaphore_waits.test5
1 files changed, 0 insertions, 5 deletions
diff --git a/mysql-test/suite/innodb/t/innodb_sys_semaphore_waits.test b/mysql-test/suite/innodb/t/innodb_sys_semaphore_waits.test
index 800199dbc54..53d43e6b711 100644
--- a/mysql-test/suite/innodb/t/innodb_sys_semaphore_waits.test
+++ b/mysql-test/suite/innodb/t/innodb_sys_semaphore_waits.test
@@ -5,16 +5,13 @@
# DEBUG_SYNC must be compiled in.
--source include/have_debug_sync.inc
---echo # Establish connection con1 (user=root)
connect (con1,localhost,root,,);
---echo # Establish connection con2 (user=root)
connect (con2,localhost,root,,);
--disable_warnings
drop table if exists t1;
--enable_warnings
---echo # Switch to connection con1
connection con1;
eval create table t1 (id integer, x integer) engine = InnoDB;
insert into t1 values(0, 0);
@@ -33,7 +30,6 @@ SELECT * from t1 where id = 0 FOR UPDATE;
# To make sure con1 holding the lock table mutex and sleeping
--sleep 2
---echo # Switch to connection con2
connection con2;
set autocommit=0;
@@ -61,7 +57,6 @@ SELECT * from t1 where id = 0 FOR UPDATE;
# so mysqld will abort after 600 * 10 + 1 * 10 = 6010 seconds
# in debug mode and 600 + 1 * 10 = 610 seconds in release mode.
---echo # Switched to the default connection
connection default;
--disable_result_log