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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
984d1671
Commit
984d1671
authored
Oct 04, 2013
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#90 fix race conditions in tests that cause sporadic test failures
parent
da1f2063
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
mysql-test/suite/tokudb/t/i_s_tokudb_lock_waits_released.test
...l-test/suite/tokudb/t/i_s_tokudb_lock_waits_released.test
+1
-0
mysql-test/suite/tokudb/t/i_s_tokudb_lock_waits_timeout.test
mysql-test/suite/tokudb/t/i_s_tokudb_lock_waits_timeout.test
+1
-0
mysql-test/suite/tokudb/t/i_s_tokudb_locks_released.test
mysql-test/suite/tokudb/t/i_s_tokudb_locks_released.test
+1
-0
No files found.
mysql-test/suite/tokudb/t/i_s_tokudb_lock_waits_released.test
View file @
984d1671
...
@@ -27,6 +27,7 @@ send insert into t values (1);
...
@@ -27,6 +27,7 @@ send insert into t values (1);
# should find the presence of a lock on 1st transaction
# should find the presence of a lock on 1st transaction
connection
default
;
connection
default
;
real_sleep
1
;
# give some time for conn_b to block
replace_column
1
TRX_ID
2
MYSQL_ID
;
replace_column
1
TRX_ID
2
MYSQL_ID
;
select
*
from
information_schema
.
tokudb_locks
;
select
*
from
information_schema
.
tokudb_locks
;
...
...
mysql-test/suite/tokudb/t/i_s_tokudb_lock_waits_timeout.test
View file @
984d1671
...
@@ -24,6 +24,7 @@ send insert into t values (1);
...
@@ -24,6 +24,7 @@ send insert into t values (1);
# should find the presence of a lock on 1st transaction
# should find the presence of a lock on 1st transaction
connection
default
;
connection
default
;
real_sleep
1
;
# give some time for conn_b to get blocked
replace_column
1
TRX_ID
2
MYSQL_ID
;
replace_column
1
TRX_ID
2
MYSQL_ID
;
select
*
from
information_schema
.
tokudb_locks
;
select
*
from
information_schema
.
tokudb_locks
;
...
...
mysql-test/suite/tokudb/t/i_s_tokudb_locks_released.test
View file @
984d1671
...
@@ -30,6 +30,7 @@ send insert into t values (1);
...
@@ -30,6 +30,7 @@ send insert into t values (1);
# should find the presence of a lock on 2nd transaction
# should find the presence of a lock on 2nd transaction
connection
default
;
connection
default
;
real_sleep
1
;
# give some time for conn_b to get blocked
replace_column
1
TRX_ID
2
MYSQL_ID
;
replace_column
1
TRX_ID
2
MYSQL_ID
;
eval
select
*
from
information_schema
.
tokudb_locks
;
eval
select
*
from
information_schema
.
tokudb_locks
;
...
...
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