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
bdaace9b
Commit
bdaace9b
authored
Sep 10, 2018
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-17151: Galera test failure on galera.galera_var_node_address
Add wait_conditions to wait expected node contents.
parent
c1f30805
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
mysql-test/suite/galera/r/galera_var_node_address.result
mysql-test/suite/galera/r/galera_var_node_address.result
+1
-1
mysql-test/suite/galera/t/galera_var_node_address.test
mysql-test/suite/galera/t/galera_var_node_address.test
+7
-1
No files found.
mysql-test/suite/galera/r/galera_var_node_address.result
View file @
bdaace9b
...
...
@@ -4,7 +4,7 @@ call mtr.add_suppression("WSREP: Sending JOIN failed: -[0-9]+ (Transport endpoi
SELECT VARIABLE_VALUE = 4 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
VARIABLE_VALUE = 4
1
CREATE TABLE t1 (f1 INTEGER);
CREATE TABLE t1 (f1 INTEGER)
ENGINE=INNODB
;
INSERT INTO t1 VALUES (1);
SELECT COUNT(*) = 1 FROM t1;
COUNT(*) = 1
...
...
mysql-test/suite/galera/t/galera_var_node_address.test
View file @
bdaace9b
...
...
@@ -13,13 +13,19 @@ call mtr.add_suppression("WSREP: Sending JOIN failed: -[0-9]+ (Transport endpoi
SELECT
VARIABLE_VALUE
=
4
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_cluster_size'
;
--
connection
node_1
CREATE
TABLE
t1
(
f1
INTEGER
);
CREATE
TABLE
t1
(
f1
INTEGER
)
ENGINE
=
INNODB
;
--
connection
node_2
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
1
FROM
INFORMATION_SCHEMA
.
INNODB_SYS_TABLES
WHERE
NAME
LIKE
'test/t1'
;
--
source
include
/
wait_condition
.
inc
INSERT
INTO
t1
VALUES
(
1
);
--
connect
node_3
,
127.0
.
0.1
,
root
,
,
test
,
$NODE_MYPORT_3
--
connection
node_3
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
1
FROM
INFORMATION_SCHEMA
.
INNODB_SYS_TABLES
WHERE
NAME
LIKE
'test/t1'
;
--
source
include
/
wait_condition
.
inc
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
1
FROM
t1
;
--
source
include
/
wait_condition
.
inc
SELECT
COUNT
(
*
)
=
1
FROM
t1
;
--
connection
node_1
...
...
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