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
bb451d2c
Commit
bb451d2c
authored
Mar 14, 2024
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix galera tests after
9a132d42
parent
dbd36bb1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
mysql-test/suite/galera/r/galera_parallel_apply_lock_table.result
...st/suite/galera/r/galera_parallel_apply_lock_table.result
+1
-1
mysql-test/suite/galera/t/galera_parallel_apply_lock_table.test
...test/suite/galera/t/galera_parallel_apply_lock_table.test
+1
-1
mysql-test/suite/galera/t/galera_parallel_simple.test
mysql-test/suite/galera/t/galera_parallel_simple.test
+1
-1
No files found.
mysql-test/suite/galera/r/galera_parallel_apply_lock_table.result
View file @
bb451d2c
...
...
@@ -10,7 +10,7 @@ INSERT INTO t1 VALUES (1);
INSERT INTO t2 VALUES (1);
connection node_2a;
SET SESSION wsrep_sync_wait=0;
SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.PROCESSLIST WHERE STATE LIKE '
%committing%
';
SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.PROCESSLIST WHERE STATE LIKE '
Commit
';
COUNT(*) = 1
1
SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.PROCESSLIST WHERE STATE LIKE '%Waiting for table metadata lock%';
...
...
mysql-test/suite/galera/t/galera_parallel_apply_lock_table.test
View file @
bb451d2c
...
...
@@ -32,7 +32,7 @@ INSERT INTO t2 VALUES (1);
--
connection
node_2a
--
sleep
1
SET
SESSION
wsrep_sync_wait
=
0
;
SELECT
COUNT
(
*
)
=
1
FROM
INFORMATION_SCHEMA
.
PROCESSLIST
WHERE
STATE
LIKE
'
%committing%
'
;
SELECT
COUNT
(
*
)
=
1
FROM
INFORMATION_SCHEMA
.
PROCESSLIST
WHERE
STATE
LIKE
'
Commit
'
;
SELECT
COUNT
(
*
)
=
1
FROM
INFORMATION_SCHEMA
.
PROCESSLIST
WHERE
STATE
LIKE
'%Waiting for table metadata lock%'
;
SELECT
COUNT
(
*
)
=
0
FROM
t1
;
SELECT
COUNT
(
*
)
=
0
FROM
t2
;
...
...
mysql-test/suite/galera/t/galera_parallel_simple.test
View file @
bb451d2c
...
...
@@ -51,7 +51,7 @@ SET SESSION wsrep_sync_wait = 0;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
1
FROM
INFORMATION_SCHEMA
.
PROCESSLIST
WHERE
STATE
LIKE
'Waiting for table metadata lock%'
;
--
source
include
/
wait_condition
.
inc
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
1
FROM
INFORMATION_SCHEMA
.
PROCESSLIST
WHERE
STATE
LIKE
'
committing%
'
;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
1
FROM
INFORMATION_SCHEMA
.
PROCESSLIST
WHERE
STATE
LIKE
'
Commit
'
;
--
source
include
/
wait_condition
.
inc
UNLOCK
TABLES
;
...
...
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