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
c05618f2
Commit
c05618f2
authored
Jul 14, 2019
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix galera_kill_applier test case.
parent
0dc843b9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
mysql-test/suite/galera/r/galera_kill_applier.result
mysql-test/suite/galera/r/galera_kill_applier.result
+1
-0
mysql-test/suite/galera/t/galera_kill_applier.test
mysql-test/suite/galera/t/galera_kill_applier.test
+4
-2
No files found.
mysql-test/suite/galera/r/galera_kill_applier.result
View file @
c05618f2
connection node_1;
SET GLOBAL wsrep_slave_threads=2;
Got one of the listed errors
Got one of the listed errors
Got one of the listed errors
...
...
mysql-test/suite/galera/t/galera_kill_applier.test
View file @
c05618f2
...
...
@@ -7,8 +7,10 @@
--
source
include
/
force_restart
.
inc
--
connection
node_1
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
1
FROM
INFORMATION_SCHEMA
.
PROCESSLIST
WHERE
USER
=
'system user'
AND
STATE
=
'wsrep applier idle'
;
--
let
$wait_condition_on_error_output
=
SELECT
COUNT
(
*
),
1
as
EXPECTED_VALUE
FROM
INFORMATION_SCHEMA
.
PROCESSLIST
WHERE
USER
=
'system user'
AND
STATE
=
'wsrep applier idle'
;
show
processlist
SET
GLOBAL
wsrep_slave_threads
=
2
;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
2
FROM
INFORMATION_SCHEMA
.
PROCESSLIST
WHERE
USER
=
'system user'
AND
STATE
=
'wsrep applier idle'
;
--
let
$wait_condition_on_error_output
=
SELECT
COUNT
(
*
),
2
as
EXPECTED_VALUE
FROM
INFORMATION_SCHEMA
.
PROCESSLIST
WHERE
USER
=
'system user'
AND
STATE
=
'wsrep applier idle'
;
show
processlist
--
source
include
/
wait_condition_with_debug
.
inc
--
let
$applier_thread
=
`SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST WHERE USER = 'system user' AND STATE = 'wsrep applier idle' LIMIT 1`
...
...
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