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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
f6d2bb16
Commit
f6d2bb16
authored
Apr 15, 2013
by
Elena Stepanova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-4394 Part II (missing wait condition for IO thread status)
parent
757a6b43
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
mysql-test/suite/multi_source/multisource.test
mysql-test/suite/multi_source/multisource.test
+18
-0
No files found.
mysql-test/suite/multi_source/multisource.test
View file @
f6d2bb16
...
@@ -43,6 +43,12 @@ set default_master_connection = 'master1';
...
@@ -43,6 +43,12 @@ set default_master_connection = 'master1';
# each of the 3 commands should produce
# each of the 3 commands should produce
# 'master1' status
# 'master1' status
let
$wait_for_all
=
1
;
let
$show_statement
=
SHOW
ALL
SLAVES
STATUS
;
let
$field
=
Slave_IO_State
;
let
$condition
=
=
'Waiting for master to send event'
;
--
source
include
/
wait_show_condition
.
inc
--
replace_result
$SERVER_MYPORT_1
MYPORT_1
--
replace_result
$SERVER_MYPORT_1
MYPORT_1
show
slave
'master1'
status
;
show
slave
'master1'
status
;
--
replace_result
$SERVER_MYPORT_1
MYPORT_1
--
replace_result
$SERVER_MYPORT_1
MYPORT_1
...
@@ -132,6 +138,12 @@ start slave;
...
@@ -132,6 +138,12 @@ start slave;
# See both connections in the same status output
# See both connections in the same status output
let
$wait_for_all
=
1
;
let
$show_statement
=
SHOW
ALL
SLAVES
STATUS
;
let
$field
=
Slave_IO_State
;
let
$condition
=
=
'Waiting for master to send event'
;
--
source
include
/
wait_show_condition
.
inc
--
replace_result
$SERVER_MYPORT_1
MYPORT_1
$SERVER_MYPORT_2
MYPORT_2
--
replace_result
$SERVER_MYPORT_1
MYPORT_1
$SERVER_MYPORT_2
MYPORT_2
show
all
slaves
status
;
show
all
slaves
status
;
...
@@ -196,6 +208,12 @@ create table db1.t3 (f1 int) engine=InnoDB;
...
@@ -196,6 +208,12 @@ create table db1.t3 (f1 int) engine=InnoDB;
--
source
wait_for_sql_thread_read_all
.
inc
--
source
wait_for_sql_thread_read_all
.
inc
let
$wait_for_all
=
1
;
let
$show_statement
=
SHOW
ALL
SLAVES
STATUS
;
let
$field
=
Slave_IO_State
;
let
$condition
=
=
'Waiting for master to send event'
;
--
source
include
/
wait_show_condition
.
inc
--
replace_result
$SERVER_MYPORT_1
MYPORT_1
$SERVER_MYPORT_2
MYPORT_2
--
replace_result
$SERVER_MYPORT_1
MYPORT_1
$SERVER_MYPORT_2
MYPORT_2
show
all
slaves
status
;
show
all
slaves
status
;
...
...
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