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
1fd07d21
Commit
1fd07d21
authored
Apr 10, 2018
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-15823: Test failure on galera.galera_var_slave_threads
Wait drop table to be replicated before continuing.
parent
f932d3f8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
mysql-test/suite/galera/disabled.def
mysql-test/suite/galera/disabled.def
+0
-1
mysql-test/suite/galera/r/galera_var_slave_threads.result
mysql-test/suite/galera/r/galera_var_slave_threads.result
+2
-0
mysql-test/suite/galera/t/galera_var_slave_threads.test
mysql-test/suite/galera/t/galera_var_slave_threads.test
+7
-0
No files found.
mysql-test/suite/galera/disabled.def
View file @
1fd07d21
...
...
@@ -34,4 +34,3 @@ query_cache : MDEV-15805 Test failure on galera.query_cache
galera.galera_gra_log : MDEV-15808 Test failure on galera.galera_gra_log
galera.MW-44 : MDEV-15809 Test failure on galera.MW-44
galera.galera_pc_ignore_sb : MDEV-15811 Test failure on galera_pc_ignore_sb
galera.galera_var_slave_threads : MDEV-15785 Test failure on galera.galera_var_slave_threads
mysql-test/suite/galera/r/galera_var_slave_threads.result
View file @
1fd07d21
...
...
@@ -109,6 +109,8 @@ INSERT INTO t1 VALUES (DEFAULT);
INSERT INTO t1 VALUES (DEFAULT);
INSERT INTO t1 VALUES (DEFAULT);
DROP TABLE t1;
SELECT NAME FROM INFORMATION_SCHEMA.INNODB_SYS_TABLES WHERE NAME LIKE 'test/t%';
NAME
SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.PROCESSLIST WHERE USER = 'system user' AND STATE LIKE '%wsrep aborter%';
COUNT(*) = 1
1
...
...
mysql-test/suite/galera/t/galera_var_slave_threads.test
View file @
1fd07d21
...
...
@@ -88,6 +88,13 @@ INSERT INTO t1 VALUES (DEFAULT);
DROP
TABLE
t1
;
--
connection
node_2
# Wait until above DDL is replicated
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
0
FROM
INFORMATION_SCHEMA
.
INNODB_SYS_TABLES
WHERE
NAME
LIKE
'test/t%'
;
--
source
include
/
wait_condition
.
inc
SELECT
NAME
FROM
INFORMATION_SCHEMA
.
INNODB_SYS_TABLES
WHERE
NAME
LIKE
'test/t%'
;
#
# make sure that we are left with exactly one applier thread before we leaving the test
#
...
...
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