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
ff76214a
Commit
ff76214a
authored
Aug 12, 2015
by
Philip Stoev
Committed by
Nirbhay Choubey
Sep 09, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Galera MTR Tests: Various test stability fixes (take #3)
parent
fd0aaad5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
2 deletions
+5
-2
mysql-test/include/wait_condition.inc
mysql-test/include/wait_condition.inc
+1
-0
mysql-test/suite/galera/r/galera_as_slave.result
mysql-test/suite/galera/r/galera_as_slave.result
+1
-0
mysql-test/suite/galera/t/galera_as_slave.test
mysql-test/suite/galera/t/galera_as_slave.test
+3
-0
mysql-test/suite/galera/t/galera_parallel_simple.test
mysql-test/suite/galera/t/galera_parallel_simple.test
+0
-2
No files found.
mysql-test/include/wait_condition.inc
View file @
ff76214a
...
@@ -39,6 +39,7 @@ let $wait_timeout= 0;
...
@@ -39,6 +39,7 @@ let $wait_timeout= 0;
let
$wait_condition_reps
=
0
;
let
$wait_condition_reps
=
0
;
while
(
$wait_counter
)
while
(
$wait_counter
)
{
{
--
error
0
,
ER_NO_SUCH_TABLE
,
ER_LOCK_WAIT_TIMEOUT
let
$success
=
`$wait_condition`
;
let
$success
=
`$wait_condition`
;
inc
$wait_condition_reps
;
inc
$wait_condition_reps
;
if
(
$success
)
if
(
$success
)
...
...
mysql-test/suite/galera/r/galera_as_slave.result
View file @
ff76214a
...
@@ -12,3 +12,4 @@ COUNT(*) = 3
...
@@ -12,3 +12,4 @@ COUNT(*) = 3
DROP TABLE t1;
DROP TABLE t1;
STOP SLAVE;
STOP SLAVE;
RESET SLAVE ALL;
RESET SLAVE ALL;
RESET MASTER;
mysql-test/suite/galera/t/galera_as_slave.test
View file @
ff76214a
...
@@ -45,3 +45,6 @@ DROP TABLE t1;
...
@@ -45,3 +45,6 @@ DROP TABLE t1;
STOP
SLAVE
;
STOP
SLAVE
;
RESET
SLAVE
ALL
;
RESET
SLAVE
ALL
;
--
connection
node_1
RESET
MASTER
;
mysql-test/suite/galera/t/galera_parallel_simple.test
View file @
ff76214a
...
@@ -37,8 +37,6 @@ INSERT INTO t2 VALUES (1);
...
@@ -37,8 +37,6 @@ INSERT INTO t2 VALUES (1);
SELECT
COUNT
(
*
)
=
10
FROM
t1
;
SELECT
COUNT
(
*
)
=
10
FROM
t1
;
SELECT
COUNT
(
*
)
=
10
FROM
t2
;
SELECT
COUNT
(
*
)
=
10
FROM
t2
;
SHOW
PROCESSLIST
;
SELECT
COUNT
(
DISTINCT
ID
)
FROM
INFORMATION_SCHEMA
.
PROCESSLIST
;
SELECT
COUNT
(
*
)
=
2
FROM
INFORMATION_SCHEMA
.
PROCESSLIST
WHERE
STATE
LIKE
'committed%'
;
SELECT
COUNT
(
*
)
=
2
FROM
INFORMATION_SCHEMA
.
PROCESSLIST
WHERE
STATE
LIKE
'committed%'
;
--
eval
SET
GLOBAL
wsrep_slave_threads
=
$wsrep_slave_threads_orig
;
--
eval
SET
GLOBAL
wsrep_slave_threads
=
$wsrep_slave_threads_orig
;
...
...
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