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
88073dae
Commit
88073dae
authored
Dec 03, 2019
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-21198 : Galera test failure on galera_var_notify_cmd
Add proper wsrep sync wait.
parent
3ff8fb51
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
12 deletions
+13
-12
mysql-test/suite/galera/r/galera_var_notify_cmd.result
mysql-test/suite/galera/r/galera_var_notify_cmd.result
+9
-8
mysql-test/suite/galera/t/galera_var_notify_cmd.test
mysql-test/suite/galera/t/galera_var_notify_cmd.test
+4
-4
No files found.
mysql-test/suite/galera/r/galera_var_notify_cmd.result
View file @
88073dae
connection node_1;
connection node_1;
SELECT COUNT(DISTINCT uuid) = 2 FROM mtr_wsrep_notify.membership;
SET SESSION wsrep_sync_wait=15;
COUNT(DISTINCT uuid) = 2
SELECT COUNT(DISTINCT uuid) FROM mtr_wsrep_notify.membership;
COUNT(DISTINCT uuid)
2
SELECT MAX(size) FROM mtr_wsrep_notify.status;
MAX(size)
2
SELECT COUNT(DISTINCT idx) FROM mtr_wsrep_notify.status;
COUNT(DISTINCT idx)
1
1
SELECT MAX(size) = 2 FROM mtr_wsrep_notify.status;
MAX(size) = 2
1
SELECT COUNT(DISTINCT idx) = 2 FROM mtr_wsrep_notify.status;
COUNT(DISTINCT idx) = 2
0
mysql-test/suite/galera/t/galera_var_notify_cmd.test
View file @
88073dae
...
@@ -3,10 +3,10 @@
...
@@ -3,10 +3,10 @@
# notifications into a table.
# notifications into a table.
#
#
--
source
include
/
have_innodb
.
inc
--
source
include
/
galera_cluster
.
inc
--
source
include
/
galera_cluster
.
inc
--
connection
node_1
--
connection
node_1
SELECT
COUNT
(
DISTINCT
uuid
)
=
2
FROM
mtr_wsrep_notify
.
membership
;
SET
SESSION
wsrep_sync_wait
=
15
;
SELECT
MAX
(
size
)
=
2
FROM
mtr_wsrep_notify
.
status
;
SELECT
COUNT
(
DISTINCT
uuid
)
FROM
mtr_wsrep_notify
.
membership
;
SELECT
COUNT
(
DISTINCT
idx
)
=
2
FROM
mtr_wsrep_notify
.
status
;
SELECT
MAX
(
size
)
FROM
mtr_wsrep_notify
.
status
;
SELECT
COUNT
(
DISTINCT
idx
)
FROM
mtr_wsrep_notify
.
status
;
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