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
88ce7cf7
Commit
88ce7cf7
authored
May 26, 2021
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-25769 : Galera test failure on galera_sr.GCF-627
Add wait_condition to wait until streaming log is empty.
parent
e2124156
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
mysql-test/suite/galera_sr/r/GCF-627.result
mysql-test/suite/galera_sr/r/GCF-627.result
+4
-6
mysql-test/suite/galera_sr/t/GCF-627.test
mysql-test/suite/galera_sr/t/GCF-627.test
+7
-2
No files found.
mysql-test/suite/galera_sr/r/GCF-627.result
View file @
88ce7cf7
...
...
@@ -16,11 +16,9 @@ connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1;
INSERT INTO t1 VALUES (2);
ERROR 42S02: Table 'test.t1' doesn't exist
connection node_1;
SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log;
COUNT(*) = 0
1
SELECT * FROM mysql.wsrep_streaming_log;
node_uuid trx_id seqno flags frag
connection node_2;
SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log;
COUNT(*) = 0
1
SELECT * FROM mysql.wsrep_streaming_log;
node_uuid trx_id seqno flags frag
DROP TABLE t2;
mysql-test/suite/galera_sr/t/GCF-627.test
View file @
88ce7cf7
...
...
@@ -22,9 +22,14 @@ COMMIT;
INSERT
INTO
t1
VALUES
(
2
);
--
connection
node_1
SELECT
COUNT
(
*
)
=
0
FROM
mysql
.
wsrep_streaming_log
;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
0
FROM
mysql
.
wsrep_streaming_log
--
source
include
/
wait_condition
.
inc
SELECT
*
FROM
mysql
.
wsrep_streaming_log
;
--
connection
node_2
SELECT
COUNT
(
*
)
=
0
FROM
mysql
.
wsrep_streaming_log
;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
0
FROM
mysql
.
wsrep_streaming_log
--
source
include
/
wait_condition
.
inc
SELECT
*
FROM
mysql
.
wsrep_streaming_log
;
DROP
TABLE
t2
;
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