Skip to content

Commit 118fc5c

Browse files
author
Jan Lindström
committed
Adjust test timeout to let long semaphore wait signaling to happen.
2 parents 575dd77 + ca2f2b7 commit 118fc5c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

mysql-test/suite/innodb/t/innodb_sys_semaphore_waits.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect;
7777

7878
# It will take 20 seconds to detect the long semaphore and mysqld to abort.
7979
# This test will be treated as pass as long as mysqld crash/restart is dectected
80-
# in 60 seconds.
81-
let $counter= 60;
80+
# in 80 seconds.
81+
let $counter= 80;
8282
let $mysql_errno= 0;
8383
while (!$mysql_errno)
8484
{

mysql-test/suite/sys_vars/r/innodb_fatal_semaphore_wait_threshold.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ drop table if exists t1;
44
# Switch to connection con1
55
create table t1 (id integer, x integer) engine = InnoDB;
66
insert into t1 values(0, 0);
7-
set @@debug_dbug="d,fatal-semaphore-timeout";
7+
set DEBUG_DBUG='+d,fatal-semaphore-timeout';
88
set autocommit=0;
99
# Sending query on con1,
1010
# the session will hold lock table mutex and sleep

mysql-test/suite/sys_vars/t/innodb_fatal_semaphore_wait_threshold.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ eval create table t1 (id integer, x integer) engine = InnoDB;
2525
insert into t1 values(0, 0);
2626

2727
# Enable the debug injection.
28-
set @@debug_dbug="d,fatal-semaphore-timeout";
28+
set DEBUG_DBUG='+d,fatal-semaphore-timeout';
2929
set autocommit=0;
3030

3131
# The following query will hang for an hour since the debug injection
@@ -82,8 +82,8 @@ exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect;
8282

8383
# It will take 20 seconds to detect the long semaphore and mysqld to abort.
8484
# This test will be treated as pass as long as mysqld crash/restart is dectected
85-
# in 60 seconds.
86-
let $counter= 60;
85+
# in 80 seconds.
86+
let $counter= 80;
8787
let $mysql_errno= 0;
8888
while (!$mysql_errno)
8989
{

0 commit comments

Comments
 (0)