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
7f03b1d7
Commit
7f03b1d7
authored
Aug 11, 2020
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test galera_ist_progress in 10.4
parent
c86114f5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
9 deletions
+21
-9
mysql-test/suite/galera/r/galera_ist_progress.result
mysql-test/suite/galera/r/galera_ist_progress.result
+14
-3
mysql-test/suite/galera/t/galera_ist_progress.test
mysql-test/suite/galera/t/galera_ist_progress.test
+7
-6
No files found.
mysql-test/suite/galera/r/galera_ist_progress.result
View file @
7f03b1d7
connection node_2;
connection node_1;
connection node_2;
SET GLOBAL wsrep_provider_options = 'gmcast.isolate = 1';
connection node_1;
connection node_2;
SET SESSION wsrep_on = OFF;
SET SESSION wsrep_on = ON;
connection node_1;
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1);
INSERT INTO t1 VALUES (2);
...
...
@@ -12,8 +18,13 @@ INSERT INTO t1 VALUES (7);
INSERT INTO t1 VALUES (8);
INSERT INTO t1 VALUES (9);
INSERT INTO t1 VALUES (10);
connection node_2;
SET GLOBAL wsrep_provider_options = 'gmcast.isolate = 0';
include/assert_grep.inc [Receiving IST: 11 writesets, seqnos]
include/assert_grep.inc [Receiving IST\.\.\. 0\.0% \( 0/11 events\) complete]
include/assert_grep.inc [Receiving IST\.\.\.100\.0% \(11/11 events\) complete]
connection node_1;
connection node_2;
connection node_1;
include/assert_grep.inc [Receiving IST: 13 writesets, seqnos 3-15]
include/assert_grep.inc [Receiving IST\.\.\. 0\.0% \( 0/13 events\) complete]
include/assert_grep.inc [Receiving IST\.\.\.100\.0% \(13/13 events\) complete]
connection node_1;
DROP TABLE t1;
mysql-test/suite/galera/t/galera_ist_progress.test
View file @
7f03b1d7
...
...
@@ -5,6 +5,7 @@
--
source
include
/
galera_cluster
.
inc
# This could cause out of storage if run /dev/shm
--
source
include
/
big_test
.
inc
--
source
include
/
force_restart
.
inc
# Isolate node #2
--
connection
node_2
...
...
@@ -58,16 +59,16 @@ SET GLOBAL wsrep_provider_options = 'gmcast.isolate = 0';
--
let
$assert_file
=
$MYSQLTEST_VARDIR
/
log
/
mysqld
.
2.
err
--
let
$assert_only_after
=
Need
state
transfer
--
let
$assert_text
=
Receiving
IST
:
1
[
13
]
writesets
--
let
$assert_select
=
Receiving
IST
:
1
[
13
]
writesets
--
let
$assert_text
=
Receiving
IST
:
1
3
writesets
,
seqnos
3
-
15
--
let
$assert_select
=
Receiving
IST
:
1
3
writesets
,
seqnos
3
-
15
--
source
include
/
assert_grep
.
inc
--
let
$assert_text
=
Receiving
IST
\
.
\
.
\
.
0
\
.
0
%
\
(
0
/
1
1
events
\
)
complete
--
let
$assert_select
=
Receiving
IST
\
.
\
.
\
.
0
\
.
0
%
\
(
0
/
1
1
events
\
)
complete
--
let
$assert_text
=
Receiving
IST
\
.
\
.
\
.
0
\
.
0
%
\
(
0
/
1
3
events
\
)
complete
--
let
$assert_select
=
Receiving
IST
\
.
\
.
\
.
0
\
.
0
%
\
(
0
/
1
3
events
\
)
complete
--
source
include
/
assert_grep
.
inc
--
let
$assert_text
=
Receiving
IST
\
.
\
.
\
.
100
\
.
0
%
\
(
1
1
/
11
events
\
)
complete
--
let
$assert_select
=
Receiving
IST
\
.
\
.
\
.
100
\
.
0
%
\
(
1
1
/
11
events
\
)
complete
--
let
$assert_text
=
Receiving
IST
\
.
\
.
\
.
100
\
.
0
%
\
(
1
3
/
13
events
\
)
complete
--
let
$assert_select
=
Receiving
IST
\
.
\
.
\
.
100
\
.
0
%
\
(
1
3
/
13
events
\
)
complete
--
source
include
/
assert_grep
.
inc
# Cleanup
...
...
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