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
929e44b2
Commit
929e44b2
authored
Feb 13, 2020
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-21514 : Galera test failure on galera.galera_wan_restart_sst on Azure
Remove sleeps and unnecessary waits.
parent
316e41e3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
29 deletions
+20
-29
mysql-test/suite/galera/disabled.def
mysql-test/suite/galera/disabled.def
+0
-1
mysql-test/suite/galera/r/galera_wan_restart_sst.result
mysql-test/suite/galera/r/galera_wan_restart_sst.result
+14
-12
mysql-test/suite/galera/t/galera_wan_restart_sst.test
mysql-test/suite/galera/t/galera_wan_restart_sst.test
+6
-16
No files found.
mysql-test/suite/galera/disabled.def
View file @
929e44b2
...
...
@@ -48,7 +48,6 @@ galera_var_notify_cmd : MDEV-21488,MDEV-20600
galera_var_reject_queries : assertion in inline_mysql_socket_send
galera_var_retry_autocommit: MDEV-18181 Galera test failure on galera.galera_var_retry_autocommit
galera_wan : MDEV-17259 Test failure on galera.galera_wan
galera_wan_restart_sst : MDEV-21514 galera.galera_wan_restart_sst
galera_wsrep_new_cluster : MDEV-21515 galera.galera_wsrep_new_cluster
mysql-wsrep#198 : MDEV-18935 Galera test mysql-wsrep#198 sporaric assertion transaction.cpp:362: int wsrep::transaction::before_commit(): Assertion `state() == s_executing || state() == s_committing || state() == s_must_abort || state() == s_replaying' failed.
mysql-wsrep#33 : MDEV-21420 galera.mysql-wsrep#33
...
...
mysql-test/suite/galera/r/galera_wan_restart_sst.result
View file @
929e44b2
...
...
@@ -48,38 +48,40 @@ INSERT INTO t1 VALUES (33);
connection node_4;
INSERT INTO t1 VALUES (341);
connection node_1;
SELECT COUNT(*)
=
19 FROM t1;
COUNT(*) =
19
1
SELECT COUNT(*)
AS EXPECT_
19 FROM t1;
EXPECT_
19
1
9
connection node_2;
SELECT VARIABLE_VALUE = 4 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
VARIABLE_VALUE = 4
1
SELECT COUNT(*)
=
19 FROM t1;
COUNT(*) =
19
1
SELECT COUNT(*)
AS EXPECT_
19 FROM t1;
EXPECT_
19
1
9
connection node_3;
SELECT VARIABLE_VALUE = 4 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
VARIABLE_VALUE = 4
1
SELECT COUNT(*)
=
19 FROM t1;
COUNT(*) =
19
1
SELECT COUNT(*)
AS EXPECT_
19 FROM t1;
EXPECT_
19
1
9
connection node_4;
SELECT VARIABLE_VALUE = 4 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
VARIABLE_VALUE = 4
1
SELECT COUNT(*)
=
19 FROM t1;
COUNT(*) =
19
1
SELECT COUNT(*)
AS EXPECT_
19 FROM t1;
EXPECT_
19
1
9
connection node_1;
DROP TABLE t1;
CALL mtr.add_suppression("There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside");
CALL mtr.add_suppression("WSREP: gcs_caused\\(\\) returned -1 \\(Operation not permitted\\)");
connection node_2;
CALL mtr.add_suppression("There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside");
CALL mtr.add_suppression("Action message in non-primary configuration from member 0");
connection node_3;
CALL mtr.add_suppression("There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside");
CALL mtr.add_suppression("Action message in non-primary configuration from member 0");
connection node_4;
CALL mtr.add_suppression("There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside");
CALL mtr.add_suppression("Action message in non-primary configuration from member 0");
mysql-test/suite/galera/t/galera_wan_restart_sst.test
View file @
929e44b2
...
...
@@ -37,10 +37,8 @@ INSERT INTO t1 VALUES (4);
INSERT
INTO
t1
VALUES
(
13
);
--
source
include
/
kill_galera
.
inc
--
sleep
5
--
connection
node_1
--
source
include
/
wait_until_connected_again
.
inc
INSERT
INTO
t1
VALUES
(
11
);
--
connection
node_2
...
...
@@ -51,8 +49,6 @@ INSERT INTO t1 VALUES (14);
--
connection
node_3
--
source
include
/
start_mysqld
.
inc
--
sleep
5
--
source
include
/
wait_until_connected_again
.
inc
INSERT
INTO
t1
VALUES
(
131
);
...
...
@@ -64,10 +60,8 @@ INSERT INTO t1 VALUES (131);
INSERT
INTO
t1
VALUES
(
22
);
--
source
include
/
kill_galera
.
inc
--
sleep
5
--
connection
node_1
--
source
include
/
wait_until_connected_again
.
inc
INSERT
INTO
t1
VALUES
(
21
);
--
connection
node_3
...
...
@@ -78,8 +72,6 @@ INSERT INTO t1 VALUES (24);
--
connection
node_2
--
source
include
/
start_mysqld
.
inc
--
sleep
5
--
source
include
/
wait_until_connected_again
.
inc
INSERT
INTO
t1
VALUES
(
221
);
...
...
@@ -91,10 +83,8 @@ INSERT INTO t1 VALUES (221);
INSERT
INTO
t1
VALUES
(
34
);
--
source
include
/
kill_galera
.
inc
--
sleep
5
--
connection
node_1
--
source
include
/
wait_until_connected_again
.
inc
INSERT
INTO
t1
VALUES
(
31
);
--
connection
node_2
...
...
@@ -105,8 +95,6 @@ INSERT INTO t1 VALUES (33);
--
connection
node_4
--
source
include
/
start_mysqld
.
inc
--
sleep
5
--
source
include
/
wait_until_connected_again
.
inc
INSERT
INTO
t1
VALUES
(
341
);
...
...
@@ -119,19 +107,19 @@ INSERT INTO t1 VALUES (341);
--
let
$wait_condition
=
SELECT
VARIABLE_VALUE
=
4
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_cluster_size'
;
--
source
include
/
wait_condition
.
inc
SELECT
COUNT
(
*
)
=
19
FROM
t1
;
SELECT
COUNT
(
*
)
AS
EXPECT_
19
FROM
t1
;
--
connection
node_2
SELECT
VARIABLE_VALUE
=
4
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_cluster_size'
;
SELECT
COUNT
(
*
)
=
19
FROM
t1
;
SELECT
COUNT
(
*
)
AS
EXPECT_
19
FROM
t1
;
--
connection
node_3
SELECT
VARIABLE_VALUE
=
4
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_cluster_size'
;
SELECT
COUNT
(
*
)
=
19
FROM
t1
;
SELECT
COUNT
(
*
)
AS
EXPECT_
19
FROM
t1
;
--
connection
node_4
SELECT
VARIABLE_VALUE
=
4
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_cluster_size'
;
SELECT
COUNT
(
*
)
=
19
FROM
t1
;
SELECT
COUNT
(
*
)
AS
EXPECT_
19
FROM
t1
;
--
connection
node_1
DROP
TABLE
t1
;
...
...
@@ -139,6 +127,7 @@ CALL mtr.add_suppression("There are no nodes in the same segment that will ever
CALL
mtr
.
add_suppression
(
"WSREP: gcs_caused
\\
(
\\
) returned -1
\\
(Operation not permitted
\\
)"
);
--
connection
node_2
CALL
mtr
.
add_suppression
(
"There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside"
);
CALL
mtr
.
add_suppression
(
"Action message in non-primary configuration from member 0"
);
--
connection
node_3
...
...
@@ -146,4 +135,5 @@ CALL mtr.add_suppression("There are no nodes in the same segment that will ever
CALL
mtr
.
add_suppression
(
"Action message in non-primary configuration from member 0"
);
--
connection
node_4
CALL
mtr
.
add_suppression
(
"There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside"
);
CALL
mtr
.
add_suppression
(
"Action message in non-primary configuration from member 0"
);
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