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
f01a16b5
Commit
f01a16b5
authored
Aug 04, 2016
by
Philip Stoev
Committed by
Nirbhay Choubey
Aug 21, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Galera MTR Tests: fortify galera_bf_abort_flush_for_export against sporadic failures.
parent
30c6ac3c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
mysql-test/suite/galera/r/galera_bf_abort_flush_for_export.result
...st/suite/galera/r/galera_bf_abort_flush_for_export.result
+4
-3
mysql-test/suite/galera/t/galera_bf_abort_flush_for_export.test
...test/suite/galera/t/galera_bf_abort_flush_for_export.test
+2
-3
No files found.
mysql-test/suite/galera/r/galera_bf_abort_flush_for_export.result
View file @
f01a16b5
...
@@ -6,9 +6,10 @@ SET SESSION wsrep_sync_wait = 0;
...
@@ -6,9 +6,10 @@ SET SESSION wsrep_sync_wait = 0;
UNLOCK TABLES;
UNLOCK TABLES;
COMMIT;
COMMIT;
SET AUTOCOMMIT=ON;
SET AUTOCOMMIT=ON;
SELECT * FROM t1;
SET SESSION wsrep_sync_wait = 7;
f1
SELECT COUNT(*) = 1 FROM t1;
2
COUNT(*) = 1
1
wsrep_local_aborts_increment
wsrep_local_aborts_increment
1
1
DROP TABLE t1;
DROP TABLE t1;
mysql-test/suite/galera/t/galera_bf_abort_flush_for_export.test
View file @
f01a16b5
...
@@ -27,9 +27,8 @@ UNLOCK TABLES;
...
@@ -27,9 +27,8 @@ UNLOCK TABLES;
COMMIT
;
COMMIT
;
SET
AUTOCOMMIT
=
ON
;
SET
AUTOCOMMIT
=
ON
;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
1
FROM
t1
SET
SESSION
wsrep_sync_wait
=
7
;
--
source
include
/
wait_condition
.
inc
SELECT
COUNT
(
*
)
=
1
FROM
t1
;
SELECT
*
FROM
t1
;
--
let
$wsrep_local_bf_aborts_after
=
`SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_bf_aborts'`
--
let
$wsrep_local_bf_aborts_after
=
`SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_bf_aborts'`
...
...
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