Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
ca2f2b71
Commit
ca2f2b71
authored
Mar 31, 2015
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust test wait timeout.
parent
81113dae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
mysql-test/suite/innodb/t/innodb_sys_semaphore_waits.test
mysql-test/suite/innodb/t/innodb_sys_semaphore_waits.test
+2
-2
mysql-test/suite/sys_vars/r/innodb_fatal_semaphore_wait_threshold.result
...e/sys_vars/r/innodb_fatal_semaphore_wait_threshold.result
+1
-1
mysql-test/suite/sys_vars/t/innodb_fatal_semaphore_wait_threshold.test
...ite/sys_vars/t/innodb_fatal_semaphore_wait_threshold.test
+3
-3
No files found.
mysql-test/suite/innodb/t/innodb_sys_semaphore_waits.test
View file @
ca2f2b71
...
@@ -77,8 +77,8 @@ exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect;
...
@@ -77,8 +77,8 @@ exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect;
# It will take 20 seconds to detect the long semaphore and mysqld to abort.
# It will take 20 seconds to detect the long semaphore and mysqld to abort.
# This test will be treated as pass as long as mysqld crash/restart is dectected
# This test will be treated as pass as long as mysqld crash/restart is dectected
# in
6
0 seconds.
# in
8
0 seconds.
let
$counter
=
6
0
;
let
$counter
=
8
0
;
let
$mysql_errno
=
0
;
let
$mysql_errno
=
0
;
while
(
!
$mysql_errno
)
while
(
!
$mysql_errno
)
{
{
...
...
mysql-test/suite/sys_vars/r/innodb_fatal_semaphore_wait_threshold.result
View file @
ca2f2b71
...
@@ -4,7 +4,7 @@ drop table if exists t1;
...
@@ -4,7 +4,7 @@ drop table if exists t1;
# Switch to connection con1
# Switch to connection con1
create table t1 (id integer, x integer) engine = InnoDB;
create table t1 (id integer, x integer) engine = InnoDB;
insert into t1 values(0, 0);
insert into t1 values(0, 0);
set
@@debug_dbug="d,fatal-semaphore-timeout"
;
set
DEBUG_DBUG='+d,fatal-semaphore-timeout'
;
set autocommit=0;
set autocommit=0;
# Sending query on con1,
# Sending query on con1,
# the session will hold lock table mutex and sleep
# the session will hold lock table mutex and sleep
...
...
mysql-test/suite/sys_vars/t/innodb_fatal_semaphore_wait_threshold.test
View file @
ca2f2b71
...
@@ -25,7 +25,7 @@ eval create table t1 (id integer, x integer) engine = InnoDB;
...
@@ -25,7 +25,7 @@ eval create table t1 (id integer, x integer) engine = InnoDB;
insert
into
t1
values
(
0
,
0
);
insert
into
t1
values
(
0
,
0
);
# Enable the debug injection.
# Enable the debug injection.
set
@@
debug_dbug
=
"d,fatal-semaphore-timeout"
;
set
DEBUG_DBUG
=
'+d,fatal-semaphore-timeout'
;
set
autocommit
=
0
;
set
autocommit
=
0
;
# The following query will hang for an hour since the debug injection
# 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;
...
@@ -82,8 +82,8 @@ exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect;
# It will take 20 seconds to detect the long semaphore and mysqld to abort.
# It will take 20 seconds to detect the long semaphore and mysqld to abort.
# This test will be treated as pass as long as mysqld crash/restart is dectected
# This test will be treated as pass as long as mysqld crash/restart is dectected
# in
6
0 seconds.
# in
8
0 seconds.
let
$counter
=
6
0
;
let
$counter
=
8
0
;
let
$mysql_errno
=
0
;
let
$mysql_errno
=
0
;
while
(
!
$mysql_errno
)
while
(
!
$mysql_errno
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment