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
137af55c
Commit
137af55c
authored
May 17, 2016
by
Philip Stoev
Committed by
Nirbhay Choubey
Aug 21, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Galera MTR Tests: stability fixes
parent
db837fde
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
12 deletions
+14
-12
mysql-test/suite/galera/r/galera_repl_max_ws_size.result
mysql-test/suite/galera/r/galera_repl_max_ws_size.result
+4
-0
mysql-test/suite/galera/r/galera_ssl_upgrade.result
mysql-test/suite/galera/r/galera_ssl_upgrade.result
+0
-9
mysql-test/suite/galera/t/galera_repl_max_ws_size.test
mysql-test/suite/galera/t/galera_repl_max_ws_size.test
+4
-0
mysql-test/suite/galera/t/galera_ssl_upgrade.test
mysql-test/suite/galera/t/galera_ssl_upgrade.test
+6
-3
No files found.
mysql-test/suite/galera/r/galera_repl_max_ws_size.result
View file @
137af55c
...
...
@@ -6,3 +6,7 @@ SELECT COUNT(*) = 0 FROM t1;
COUNT(*) = 0
1
DROP TABLE t1;
CALL mtr.add_suppression("Maximum writeset size exceeded by");
CALL mtr.add_suppression("transaction size limit");
CALL mtr.add_suppression("transaction size exceeded");
CALL mtr.add_suppression("rbr write fail");
mysql-test/suite/galera/r/galera_ssl_upgrade.result
View file @
137af55c
...
...
@@ -4,21 +4,12 @@ VARIABLE_VALUE = 'Synced'
SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
VARIABLE_VALUE = 2
1
SELECT VARIABLE_VALUE = 'Synced' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_state_comment';
VARIABLE_VALUE = 'Synced'
1
SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
VARIABLE_VALUE = 2
1
SELECT VARIABLE_VALUE = 'Synced' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_state_comment';
VARIABLE_VALUE = 'Synced'
1
SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
VARIABLE_VALUE = 2
1
SELECT VARIABLE_VALUE = 'Synced' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_state_comment';
VARIABLE_VALUE = 'Synced'
1
SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
VARIABLE_VALUE = 2
1
mysql-test/suite/galera/t/galera_repl_max_ws_size.test
View file @
137af55c
...
...
@@ -23,3 +23,7 @@ SELECT COUNT(*) = 0 FROM t1;
DROP
TABLE
t1
;
CALL
mtr
.
add_suppression
(
"Maximum writeset size exceeded by"
);
CALL
mtr
.
add_suppression
(
"transaction size limit"
);
CALL
mtr
.
add_suppression
(
"transaction size exceeded"
);
CALL
mtr
.
add_suppression
(
"rbr write fail"
);
mysql-test/suite/galera/t/galera_ssl_upgrade.test
View file @
137af55c
...
...
@@ -18,7 +18,8 @@ SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_N
--
source
include
/
start_mysqld
.
inc
--
source
include
/
wait_until_connected_again
.
inc
SELECT
VARIABLE_VALUE
=
'Synced'
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_local_state_comment'
;
--
let
$wait_condition
=
SELECT
VARIABLE_VALUE
=
'Synced'
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_local_state_comment'
;
--
source
include
/
wait_condition
.
inc
SELECT
VARIABLE_VALUE
=
2
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_cluster_size'
;
# 3. Restart node #2 with the new socket.ssl_ca , socket.ssl_cert and socket.ssl_key
...
...
@@ -29,7 +30,8 @@ SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_N
--
source
include
/
start_mysqld
.
inc
--
source
include
/
wait_until_connected_again
.
inc
SELECT
VARIABLE_VALUE
=
'Synced'
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_local_state_comment'
;
--
let
$wait_condition
=
SELECT
VARIABLE_VALUE
=
'Synced'
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_local_state_comment'
;
--
source
include
/
wait_condition
.
inc
SELECT
VARIABLE_VALUE
=
2
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_cluster_size'
;
# 4. Restart node #1 with the new socket.ssl_ca , socket.ssl_cert and socket.ssl_key
...
...
@@ -40,7 +42,8 @@ SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_N
--
source
include
/
start_mysqld
.
inc
--
source
include
/
wait_until_connected_again
.
inc
SELECT
VARIABLE_VALUE
=
'Synced'
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_local_state_comment'
;
--
let
$wait_condition
=
SELECT
VARIABLE_VALUE
=
'Synced'
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_local_state_comment'
;
--
source
include
/
wait_condition
.
inc
SELECT
VARIABLE_VALUE
=
2
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_cluster_size'
;
# Upgrade complete. Both nodes now use the new key and certificate
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