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
118fc5c6
Commit
118fc5c6
authored
Apr 03, 2015
by
Jan Lindström
Browse files
Options
Browse Files
Download
Plain Diff
Adjust test timeout to let long semaphore wait signaling to happen.
parents
575dd775
ca2f2b71
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 @
118fc5c6
...
...
@@ -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.
# This test will be treated as pass as long as mysqld crash/restart is dectected
# in
6
0 seconds.
let
$counter
=
6
0
;
# in
8
0 seconds.
let
$counter
=
8
0
;
let
$mysql_errno
=
0
;
while
(
!
$mysql_errno
)
{
...
...
mysql-test/suite/sys_vars/r/innodb_fatal_semaphore_wait_threshold.result
View file @
118fc5c6
...
...
@@ -4,7 +4,7 @@ drop table if exists t1;
# Switch to connection con1
create table t1 (id integer, x integer) engine = InnoDB;
insert into t1 values(0, 0);
set
@@debug_dbug="d,fatal-semaphore-timeout"
;
set
DEBUG_DBUG='+d,fatal-semaphore-timeout'
;
set autocommit=0;
# Sending query on con1,
# the session will hold lock table mutex and sleep
...
...
mysql-test/suite/sys_vars/t/innodb_fatal_semaphore_wait_threshold.test
View file @
118fc5c6
...
...
@@ -25,7 +25,7 @@ eval create table t1 (id integer, x integer) engine = InnoDB;
insert
into
t1
values
(
0
,
0
);
# Enable the debug injection.
set
@@
debug_dbug
=
"d,fatal-semaphore-timeout"
;
set
DEBUG_DBUG
=
'+d,fatal-semaphore-timeout'
;
set
autocommit
=
0
;
# 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;
# 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
# in
6
0 seconds.
let
$counter
=
6
0
;
# in
8
0 seconds.
let
$counter
=
8
0
;
let
$mysql_errno
=
0
;
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