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
4e0c6139
Commit
4e0c6139
authored
Jun 07, 2019
by
Daniele Sciascia
Committed by
Jan Lindström
Jun 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor Galera MTR test fixes (#1326)
parent
6999da9b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
mysql-test/suite/galera/r/galera_sync_wait_show.result
mysql-test/suite/galera/r/galera_sync_wait_show.result
+2
-0
mysql-test/suite/galera/t/galera_parallel_autoinc_manytrx.test
...-test/suite/galera/t/galera_parallel_autoinc_manytrx.test
+1
-1
mysql-test/suite/galera_sr/r/galera_sr_mysqldump_sst.result
mysql-test/suite/galera_sr/r/galera_sr_mysqldump_sst.result
+1
-2
mysql-test/suite/galera_sr/t/galera_sr_mysqldump_sst.test
mysql-test/suite/galera_sr/t/galera_sr_mysqldump_sst.test
+1
-1
No files found.
mysql-test/suite/galera/r/galera_sync_wait_show.result
View file @
4e0c6139
...
@@ -49,6 +49,8 @@ tr1 STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE
...
@@ -49,6 +49,8 @@ tr1 STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE
DROP TABLE t1;
DROP TABLE t1;
connection node_1;
connection node_1;
CREATE EVENT event1 ON SCHEDULE AT '2038-01-01 23:59:59' DO SELECT 1;
CREATE EVENT event1 ON SCHEDULE AT '2038-01-01 23:59:59' DO SELECT 1;
Warnings:
Warning 1105 Event scheduler is switched off, use SET GLOBAL event_scheduler=ON to enable it.
connection node_2;
connection node_2;
SHOW CREATE EVENT event1;
SHOW CREATE EVENT event1;
Event sql_mode time_zone Create Event character_set_client collation_connection Database Collation
Event sql_mode time_zone Create Event character_set_client collation_connection Database Collation
...
...
mysql-test/suite/galera/t/galera_parallel_autoinc_manytrx.test
View file @
4e0c6139
...
@@ -25,7 +25,7 @@ CREATE TABLE t1 (f1 INTEGER AUTO_INCREMENT PRIMARY KEY, f2 INTEGER) Engine=InnoD
...
@@ -25,7 +25,7 @@ CREATE TABLE t1 (f1 INTEGER AUTO_INCREMENT PRIMARY KEY, f2 INTEGER) Engine=InnoD
set
session
wsrep_sync_wait
=
15
;
set
session
wsrep_sync_wait
=
15
;
--
let
$wsrep_slave_threads_orig
=
`SELECT @@wsrep_slave_threads`
--
let
$wsrep_slave_threads_orig
=
`SELECT @@wsrep_slave_threads`
SET
GLOBAL
wsrep_slave_threads
=
4
;
SET
GLOBAL
wsrep_slave_threads
=
4
;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
@@
wsrep_slave_threads
+
1
FROM
INFORMATION_SCHEMA
.
PROCESSLIST
WHERE
USER
=
'system user'
AND
(
STATE
IS
NULL
OR
STATE
NOT
LIKE
'InnoDB%'
);
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
@@
wsrep_slave_threads
+
2
FROM
INFORMATION_SCHEMA
.
PROCESSLIST
WHERE
USER
=
'system user'
AND
(
STATE
IS
NULL
OR
STATE
NOT
LIKE
'InnoDB%'
);
--
source
include
/
wait_condition
.
inc
--
source
include
/
wait_condition
.
inc
--
connection
node_1
--
connection
node_1
...
...
mysql-test/suite/galera_sr/r/galera_sr_mysqldump_sst.result
View file @
4e0c6139
...
@@ -23,8 +23,7 @@ connection node_2;
...
@@ -23,8 +23,7 @@ connection node_2;
Shutting down server ...
Shutting down server ...
connection node_1;
connection node_1;
connection node_2;
connection node_2;
Starting server ...
# restart: with restart_parameters
# restart: --wsrep_sst_auth=sst:sst --wsrep_sst_method=mysqldump --wsrep-sst-receive-address=127.0.0.1:16001
connection node_1;
connection node_1;
connection node_2;
connection node_2;
SELECT COUNT(*) > 0 FROM mysql.wsrep_streaming_log;
SELECT COUNT(*) > 0 FROM mysql.wsrep_streaming_log;
...
...
mysql-test/suite/galera_sr/t/galera_sr_mysqldump_sst.test
View file @
4e0c6139
...
@@ -43,7 +43,7 @@ UPDATE t1 SET f2 = REPEAT('y', 255);
...
@@ -43,7 +43,7 @@ UPDATE t1 SET f2 = REPEAT('y', 255);
--
source
include
/
wait_condition
.
inc
--
source
include
/
wait_condition
.
inc
--
connection
node_2
--
connection
node_2
--
echo
Starting
server
...
--
let
$restart_noprint
=
1
--
let
$restart_parameters
=
--
wsrep_sst_auth
=
sst
:
sst
--
wsrep_sst_method
=
mysqldump
--
wsrep
-
sst
-
receive
-
address
=
127.0
.
0.1
:
$NODE_MYPORT_2
--
let
$restart_parameters
=
--
wsrep_sst_auth
=
sst
:
sst
--
wsrep_sst_method
=
mysqldump
--
wsrep
-
sst
-
receive
-
address
=
127.0
.
0.1
:
$NODE_MYPORT_2
--
source
include
/
start_mysqld
.
inc
--
source
include
/
start_mysqld
.
inc
...
...
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