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
b80b5239
Commit
b80b5239
authored
Jun 22, 2020
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test case cleanups.
parent
ccc4eb85
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
4 deletions
+18
-4
mysql-test/suite/galera/r/galera_as_slave_gtid.result
mysql-test/suite/galera/r/galera_as_slave_gtid.result
+1
-0
mysql-test/suite/galera/r/galera_as_slave_gtid_auto_engine.result
...st/suite/galera/r/galera_as_slave_gtid_auto_engine.result
+1
-0
mysql-test/suite/galera/r/galera_as_slave_gtid_myisam.result
mysql-test/suite/galera/r/galera_as_slave_gtid_myisam.result
+2
-1
mysql-test/suite/galera/suite.pm
mysql-test/suite/galera/suite.pm
+2
-1
mysql-test/suite/galera/t/galera_as_slave_gtid.inc
mysql-test/suite/galera/t/galera_as_slave_gtid.inc
+7
-0
mysql-test/suite/galera/t/galera_as_slave_gtid_myisam.test
mysql-test/suite/galera/t/galera_as_slave_gtid_myisam.test
+5
-2
No files found.
mysql-test/suite/galera/r/galera_as_slave_gtid.result
View file @
b80b5239
...
@@ -9,6 +9,7 @@ INSERT INTO t1 VALUES(1);
...
@@ -9,6 +9,7 @@ INSERT INTO t1 VALUES(1);
SELECT LENGTH(@@global.gtid_binlog_state) > 1;
SELECT LENGTH(@@global.gtid_binlog_state) > 1;
LENGTH(@@global.gtid_binlog_state) > 1
LENGTH(@@global.gtid_binlog_state) > 1
1
1
connection node_1;
connection node_2;
connection node_2;
gtid_binlog_state_equal
gtid_binlog_state_equal
1
1
...
...
mysql-test/suite/galera/r/galera_as_slave_gtid_auto_engine.result
View file @
b80b5239
...
@@ -9,6 +9,7 @@ INSERT INTO t1 VALUES(1);
...
@@ -9,6 +9,7 @@ INSERT INTO t1 VALUES(1);
SELECT LENGTH(@@global.gtid_binlog_state) > 1;
SELECT LENGTH(@@global.gtid_binlog_state) > 1;
LENGTH(@@global.gtid_binlog_state) > 1
LENGTH(@@global.gtid_binlog_state) > 1
1
1
connection node_1;
connection node_2;
connection node_2;
gtid_binlog_state_equal
gtid_binlog_state_equal
1
1
...
...
mysql-test/suite/galera/r/galera_as_slave_gtid_myisam.result
View file @
b80b5239
...
@@ -31,7 +31,6 @@ DROP TABLE t1;
...
@@ -31,7 +31,6 @@ DROP TABLE t1;
connection node_1;
connection node_1;
connection node_2;
connection node_2;
connection node_3;
connection node_3;
connection node_3;
RESET MASTER;
RESET MASTER;
connection node_1;
connection node_1;
STOP SLAVE;
STOP SLAVE;
...
@@ -43,3 +42,5 @@ connection node_2;
...
@@ -43,3 +42,5 @@ connection node_2;
SET GLOBAL WSREP_ON=OFF;
SET GLOBAL WSREP_ON=OFF;
reset master;
reset master;
SET GLOBAL WSREP_ON=ON;
SET GLOBAL WSREP_ON=ON;
connection node_3;
RESET MASTER;
mysql-test/suite/galera/suite.pm
View file @
b80b5239
...
@@ -62,7 +62,8 @@ push @::global_suppressions,
...
@@ -62,7 +62,8 @@ push @::global_suppressions,
qr(WSREP: Ignoring error*)
,
qr(WSREP: Ignoring error*)
,
qr(WSREP: Failed to remove page file .*)
,
qr(WSREP: Failed to remove page file .*)
,
qr(WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to .*)
,
qr(WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to .*)
,
qr(WSREP: .*Transport endpoint is not connected.*)
,
qr|WSREP: Sending JOIN failed: -107 \(Transport endpoint is not connected\). Will retry in new primary component.|
,
qr|WSREP: Trying to continue unpaused monitor|
,
);
);
sub
skip_combinations
{
sub
skip_combinations
{
...
...
mysql-test/suite/galera/t/galera_as_slave_gtid.inc
View file @
b80b5239
...
@@ -27,6 +27,13 @@ INSERT INTO t1 VALUES(1);
...
@@ -27,6 +27,13 @@ INSERT INTO t1 VALUES(1);
SELECT
LENGTH
(
@@
global
.
gtid_binlog_state
)
>
1
;
SELECT
LENGTH
(
@@
global
.
gtid_binlog_state
)
>
1
;
--
let
$gtid_binlog_state_node1
=
`SELECT @@global.gtid_binlog_state;`
--
let
$gtid_binlog_state_node1
=
`SELECT @@global.gtid_binlog_state;`
--
connection
node_1
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
1
FROM
INFORMATION_SCHEMA
.
TABLES
WHERE
TABLE_NAME
=
't1'
;
--
source
include
/
wait_condition
.
inc
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
1
FROM
t1
;
--
source
include
/
wait_condition
.
inc
--
connection
node_2
--
connection
node_2
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
1
FROM
INFORMATION_SCHEMA
.
TABLES
WHERE
TABLE_NAME
=
't1'
;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
1
FROM
INFORMATION_SCHEMA
.
TABLES
WHERE
TABLE_NAME
=
't1'
;
--
source
include
/
wait_condition
.
inc
--
source
include
/
wait_condition
.
inc
...
...
mysql-test/suite/galera/t/galera_as_slave_gtid_myisam.test
View file @
b80b5239
...
@@ -59,6 +59,8 @@ SELECT COUNT(*) AS EXPECT_0 FROM t1;
...
@@ -59,6 +59,8 @@ SELECT COUNT(*) AS EXPECT_0 FROM t1;
--
connection
node_3
--
connection
node_3
DROP
TABLE
t1
;
DROP
TABLE
t1
;
--
sleep
1
--
connection
node_1
--
connection
node_1
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
0
FROM
INFORMATION_SCHEMA
.
TABLES
WHERE
TABLE_NAME
=
't1'
;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
0
FROM
INFORMATION_SCHEMA
.
TABLES
WHERE
TABLE_NAME
=
't1'
;
--
source
include
/
wait_condition
.
inc
--
source
include
/
wait_condition
.
inc
...
@@ -70,8 +72,6 @@ DROP TABLE t1;
...
@@ -70,8 +72,6 @@ DROP TABLE t1;
--
connection
node_3
--
connection
node_3
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
0
FROM
INFORMATION_SCHEMA
.
TABLES
WHERE
TABLE_NAME
=
't1'
;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
0
FROM
INFORMATION_SCHEMA
.
TABLES
WHERE
TABLE_NAME
=
't1'
;
--
source
include
/
wait_condition
.
inc
--
source
include
/
wait_condition
.
inc
--
connection
node_3
RESET
MASTER
;
RESET
MASTER
;
--
connection
node_1
--
connection
node_1
...
@@ -85,3 +85,6 @@ SET GLOBAL WSREP_ON=ON;
...
@@ -85,3 +85,6 @@ SET GLOBAL WSREP_ON=ON;
SET
GLOBAL
WSREP_ON
=
OFF
;
SET
GLOBAL
WSREP_ON
=
OFF
;
reset
master
;
reset
master
;
SET
GLOBAL
WSREP_ON
=
ON
;
SET
GLOBAL
WSREP_ON
=
ON
;
--
connection
node_3
RESET
MASTER
;
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