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
e10f9e6c
Commit
e10f9e6c
authored
Apr 02, 2019
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust wsrep, galera, galera_3nodes, galera_sr and galera_3nodes_sr tests
after commit
b5615eff
parent
a10e29cc
Changes
20
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
34 additions
and
1 deletion
+34
-1
mysql-test/suite/galera_3nodes/t/galera_garbd.test
mysql-test/suite/galera_3nodes/t/galera_garbd.test
+1
-0
mysql-test/suite/galera_3nodes/t/galera_ipv6_mysqldump.test
mysql-test/suite/galera_3nodes/t/galera_ipv6_mysqldump.test
+1
-0
mysql-test/suite/galera_3nodes/t/galera_safe_to_bootstrap.test
...-test/suite/galera_3nodes/t/galera_safe_to_bootstrap.test
+4
-1
mysql-test/suite/galera_3nodes/t/galera_wsrep_schema.test
mysql-test/suite/galera_3nodes/t/galera_wsrep_schema.test
+1
-0
mysql-test/suite/galera_3nodes_sr/r/GCF-832.result
mysql-test/suite/galera_3nodes_sr/r/GCF-832.result
+1
-0
mysql-test/suite/galera_3nodes_sr/r/galera_sr_join_slave.result
...test/suite/galera_3nodes_sr/r/galera_sr_join_slave.result
+1
-0
mysql-test/suite/galera_3nodes_sr/r/galera_sr_kill_master.result
...est/suite/galera_3nodes_sr/r/galera_sr_kill_master.result
+1
-0
mysql-test/suite/galera_3nodes_sr/r/galera_sr_kill_slave_after_apply.result
...alera_3nodes_sr/r/galera_sr_kill_slave_after_apply.result
+1
-0
mysql-test/suite/galera_3nodes_sr/r/galera_sr_kill_slave_after_apply_rollback.result
...des_sr/r/galera_sr_kill_slave_after_apply_rollback.result
+1
-0
mysql-test/suite/galera_3nodes_sr/r/galera_sr_kill_slave_before_apply.result
...lera_3nodes_sr/r/galera_sr_kill_slave_before_apply.result
+1
-0
mysql-test/suite/galera_sr/r/galera_sr_kill_all_nobootstrap.result
...t/suite/galera_sr/r/galera_sr_kill_all_nobootstrap.result
+2
-0
mysql-test/suite/galera_sr/r/galera_sr_kill_all_norecovery.result
...st/suite/galera_sr/r/galera_sr_kill_all_norecovery.result
+2
-0
mysql-test/suite/galera_sr/r/galera_sr_kill_all_pcrecovery.result
...st/suite/galera_sr/r/galera_sr_kill_all_pcrecovery.result
+2
-0
mysql-test/suite/galera_sr/r/galera_sr_kill_slave.result
mysql-test/suite/galera_sr/r/galera_sr_kill_slave.result
+1
-0
mysql-test/suite/galera_sr/r/galera_sr_mysqldump_sst.result
mysql-test/suite/galera_sr/r/galera_sr_mysqldump_sst.result
+1
-0
mysql-test/suite/galera_sr/r/galera_sr_shutdown_master.result
...l-test/suite/galera_sr/r/galera_sr_shutdown_master.result
+1
-0
mysql-test/suite/galera_sr/r/galera_sr_shutdown_slave.result
mysql-test/suite/galera_sr/r/galera_sr_shutdown_slave.result
+1
-0
mysql-test/suite/galera_sr/r/mysql-wsrep-features#9.result
mysql-test/suite/galera_sr/r/mysql-wsrep-features#9.result
+1
-0
mysql-test/suite/wsrep/t/wsrep-recover-v25.test
mysql-test/suite/wsrep/t/wsrep-recover-v25.test
+5
-0
mysql-test/suite/wsrep/t/wsrep-recover.test
mysql-test/suite/wsrep/t/wsrep-recover.test
+5
-0
No files found.
mysql-test/suite/galera_3nodes/t/galera_garbd.test
View file @
e10f9e6c
...
...
@@ -99,6 +99,7 @@ DROP TABLE t1;
--
echo
Restarting
node
#3 to satisfy MTR's end-of-test checks
--
connection
node_3
let
$restart_noprint
=
2
;
--
source
include
/
start_mysqld
.
inc
# Restore original auto_increment_offset values.
...
...
mysql-test/suite/galera_3nodes/t/galera_ipv6_mysqldump.test
View file @
e10f9e6c
...
...
@@ -59,6 +59,7 @@ INSERT INTO t1 VALUES (1);
--
connection
node_2
--
echo
Starting
server
...
--
let
$start_mysqld_params
=
--
wsrep_sst_auth
=
sst
:
--
wsrep_sst_method
=
mysqldump
--
wsrep
-
sst
-
receive
-
address
=
[
::
1
]
.
1
:
$NODE_MYPORT_2
let
$restart_noprint
=
2
;
--
source
include
/
start_mysqld
.
inc
#--source suite/galera/include/galera_load_provider.inc
...
...
mysql-test/suite/galera_3nodes/t/galera_safe_to_bootstrap.test
View file @
e10f9e6c
...
...
@@ -87,8 +87,8 @@ CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
--
source
include
/
assert_grep
.
inc
# Restart one node
--
connection
node_2
let
$restart_noprint
=
2
;
--
let
$_expect_file_name
=
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
2.
expect
--
source
include
/
start_mysqld
.
inc
...
...
@@ -153,15 +153,18 @@ SET SESSION wsrep_on = OFF;
--
connection
node_1
--
let
$_expect_file_name
=
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
1.
expect
let
$restart_noprint
=
2
;
--
source
include
/
start_mysqld
.
inc
--
source
include
/
wait_until_connected_again
.
inc
--
connection
node_2
--
let
$_expect_file_name
=
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
2.
expect
let
$restart_noprint
=
2
;
--
source
include
/
start_mysqld
.
inc
--
connection
node_3
--
let
$_expect_file_name
=
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
3.
expect
let
$restart_noprint
=
2
;
--
source
include
/
start_mysqld
.
inc
--
let
$wait_condition
=
SELECT
VARIABLE_VALUE
=
3
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_cluster_size'
;
...
...
mysql-test/suite/galera_3nodes/t/galera_wsrep_schema.test
View file @
e10f9e6c
...
...
@@ -59,6 +59,7 @@ SELECT COUNT(*) = 2 FROM mysql.wsrep_cluster_members;
#disabled SELECT COUNT(*) = 2 FROM mysql.wsrep_cluster_member_history WHERE last_view_id = (SELECT MAX(last_view_id) FROM mysql.wsrep_cluster_member_history);
--
connection
node_2
let
$restart_noprint
=
2
;
--
source
include
/
start_mysqld
.
inc
--
source
include
/
wait_until_connected_again
.
inc
...
...
mysql-test/suite/galera_3nodes_sr/r/GCF-832.result
View file @
e10f9e6c
...
...
@@ -15,6 +15,7 @@ START TRANSACTION;
INSERT INTO t1 VALUES ('primary'),('primary'),('primary'),('primary'),('primary');
COMMIT;
ERROR HY000: Lost connection to MySQL server during query
# restart
connection node_1;
SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log;
COUNT(*) = 0
...
...
mysql-test/suite/galera_3nodes_sr/r/galera_sr_join_slave.result
View file @
e10f9e6c
...
...
@@ -17,6 +17,7 @@ INSERT INTO t1 VALUES (3);
INSERT INTO t1 VALUES (4);
INSERT INTO t1 VALUES (5);
connection node_2;
# restart
connection node_1;
INSERT INTO t1 VALUES (6);
INSERT INTO t1 VALUES (7);
...
...
mysql-test/suite/galera_3nodes_sr/r/galera_sr_kill_master.result
View file @
e10f9e6c
...
...
@@ -24,6 +24,7 @@ COUNT(*) = 0
1
INSERT INTO t1 VALUES (1);
connection node_2;
# restart
SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log;
COUNT(*) = 0
1
...
...
mysql-test/suite/galera_3nodes_sr/r/galera_sr_kill_slave_after_apply.result
View file @
e10f9e6c
...
...
@@ -24,6 +24,7 @@ INSERT INTO t1 VALUES (8);
INSERT INTO t1 VALUES (9);
INSERT INTO t1 VALUES (10);
connection node_2;
# restart
connection node_1;
INSERT INTO t1 VALUES (11);
INSERT INTO t1 VALUES (12);
...
...
mysql-test/suite/galera_3nodes_sr/r/galera_sr_kill_slave_after_apply_rollback.result
View file @
e10f9e6c
...
...
@@ -24,6 +24,7 @@ INSERT INTO t1 VALUES (8);
INSERT INTO t1 VALUES (9);
INSERT INTO t1 VALUES (10);
connection node_2;
# restart
connection node_1;
INSERT INTO t1 VALUES (11);
INSERT INTO t1 VALUES (12);
...
...
mysql-test/suite/galera_3nodes_sr/r/galera_sr_kill_slave_before_apply.result
View file @
e10f9e6c
...
...
@@ -29,6 +29,7 @@ INSERT INTO t1 VALUES (4);
INSERT INTO t1 VALUES (5);
connection node_2;
Killing server ...
# restart
connection node_1;
COMMIT;
SELECT COUNT(*) = 5 FROM t1;
...
...
mysql-test/suite/galera_sr/r/galera_sr_kill_all_nobootstrap.result
View file @
e10f9e6c
...
...
@@ -14,7 +14,9 @@ Killing server ...
connection node_1;
Killing server ...
connection node_1;
# restart
connection node_2;
# restart
connection node_1;
SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log;
COUNT(*) = 0
...
...
mysql-test/suite/galera_sr/r/galera_sr_kill_all_norecovery.result
View file @
e10f9e6c
...
...
@@ -17,7 +17,9 @@ Killing server ...
connection node_1;
SET SESSION wsrep_sync_wait = 0;
Killing server ...
# restart
connection node_2;
# restart
connection node_1;
SELECT COUNT(*) `expect 0` FROM mysql.wsrep_streaming_log;
expect 0
...
...
mysql-test/suite/galera_sr/r/galera_sr_kill_all_pcrecovery.result
View file @
e10f9e6c
...
...
@@ -14,7 +14,9 @@ Killing server ...
connection node_1;
Killing server ...
connection node_1;
# restart
connection node_2;
# restart
connection node_1;
SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log;
COUNT(*) = 0
...
...
mysql-test/suite/galera_sr/r/galera_sr_kill_slave.result
View file @
e10f9e6c
...
...
@@ -31,6 +31,7 @@ INSERT INTO t1 VALUES (8);
INSERT INTO t1 VALUES (9);
INSERT INTO t1 VALUES (10);
connection node_2;
# restart
connection node_1;
INSERT INTO t1 VALUES (11);
INSERT INTO t1 VALUES (12);
...
...
mysql-test/suite/galera_sr/r/galera_sr_mysqldump_sst.result
View file @
e10f9e6c
...
...
@@ -24,6 +24,7 @@ Shutting down server ...
connection node_1;
connection node_2;
Starting server ...
# restart: --wsrep_sst_auth=sst:sst --wsrep_sst_method=mysqldump --wsrep-sst-receive-address=127.0.0.1:16001
connection node_1;
connection node_2;
SELECT COUNT(*) > 0 FROM mysql.wsrep_streaming_log;
...
...
mysql-test/suite/galera_sr/r/galera_sr_shutdown_master.result
View file @
e10f9e6c
...
...
@@ -18,6 +18,7 @@ SELECT COUNT(*) = 0 FROM t1;
COUNT(*) = 0
1
connection node_2;
# restart
SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log;
COUNT(*) = 0
1
...
...
mysql-test/suite/galera_sr/r/galera_sr_shutdown_slave.result
View file @
e10f9e6c
...
...
@@ -20,6 +20,7 @@ connection node_1a;
INSERT INTO t1 VALUES (14),(15),(16);
COMMIT;
connection node_2;
# restart
SELECT COUNT(*) > 0 FROM mysql.wsrep_streaming_log;
COUNT(*) > 0
1
...
...
mysql-test/suite/galera_sr/r/mysql-wsrep-features#9.result
View file @
e10f9e6c
...
...
@@ -9,6 +9,7 @@ Killing server ...
connection node_1;
ALTER TABLE t1 ADD COLUMN f2 INTEGER;
connection node_2;
# restart
connection node_2a;
SELECT COUNT(*) = 2 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME='t1';
COUNT(*) = 2
...
...
mysql-test/suite/wsrep/t/wsrep-recover-v25.test
View file @
e10f9e6c
...
...
@@ -37,6 +37,8 @@ if ($log_bin) {
# The expected recovered seqno is 1 corresponding to initial cluster
# configuration change.
#
let
$restart_noprint
=
2
;
--
source
include
/
kill_mysqld
.
inc
--
source
wsrep
-
recover
-
step
.
inc
--
echo
Expect
seqno
1
...
...
@@ -53,6 +55,7 @@ if ($log_bin) {
#
CREATE
TABLE
t1
(
f1
INT
PRIMARY
KEY
)
ENGINE
=
InnoDB
;
let
$restart_noprint
=
2
;
--
source
include
/
kill_mysqld
.
inc
--
source
wsrep
-
recover
-
step
.
inc
--
echo
Expect
seqno
3
...
...
@@ -71,6 +74,7 @@ CREATE TABLE t1 (f1 INT PRIMARY KEY) ENGINE=InnoDB;
#
INSERT
INTO
t1
VALUES
(
5
);
let
$restart_noprint
=
2
;
--
source
include
/
kill_mysqld
.
inc
--
source
wsrep
-
recover
-
step
.
inc
--
echo
Expect
seqno
5
...
...
@@ -99,6 +103,7 @@ if ($log_bin) {
--
send
INSERT
INTO
t1
VALUES
(
7
)
--
connection
default
let
$restart_noprint
=
2
;
SET
DEBUG_SYNC
=
"now WAIT_FOR after_prepare_reached"
;
--
source
include
/
kill_mysqld
.
inc
--
source
wsrep
-
recover
-
step
.
inc
...
...
mysql-test/suite/wsrep/t/wsrep-recover.test
View file @
e10f9e6c
...
...
@@ -36,6 +36,7 @@ if ($log_bin) {
# The expected recovered seqno is 1 corresponding to initial cluster
# configuration change.
#
let
$restart_noprint
=
2
;
--
source
include
/
kill_mysqld
.
inc
--
source
wsrep
-
recover
-
step
.
inc
--
echo
Expect
seqno
1
...
...
@@ -50,6 +51,7 @@ if ($log_bin) {
# The expected recovered seqno is 3 corresponding to two configuration
# change events and CREATE TABLE.
#
let
$restart_noprint
=
2
;
CREATE
TABLE
t1
(
f1
INT
PRIMARY
KEY
)
ENGINE
=
InnoDB
;
--
source
include
/
kill_mysqld
.
inc
...
...
@@ -68,6 +70,7 @@ CREATE TABLE t1 (f1 INT PRIMARY KEY) ENGINE=InnoDB;
#
# The expected wsrep_last_committed after the server is restarted is 6.
#
let
$restart_noprint
=
2
;
INSERT
INTO
t1
VALUES
(
5
);
--
source
include
/
kill_mysqld
.
inc
...
...
@@ -114,6 +117,7 @@ SET DEBUG_SYNC = "wsrep_before_commit_order_enter SIGNAL before_commit_order_rea
SET
DEBUG_SYNC
=
"now WAIT_FOR before_commit_order_reached"
;
--
connection
default
let
$restart_noprint
=
2
;
--
source
include
/
kill_mysqld
.
inc
--
source
wsrep
-
recover
-
step
.
inc
--
echo
Expect
seqno
6
...
...
@@ -163,6 +167,7 @@ SET DEBUG_SYNC = "now SIGNAL continue_after_certification";
SET
DEBUG_SYNC
=
"now WAIT_FOR before_commit_order_reached_1"
;
--
connection
default
let
$restart_noprint
=
2
;
--
source
include
/
kill_mysqld
.
inc
--
source
wsrep
-
recover
-
step
.
inc
--
echo
Expect
seqno
7
...
...
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