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
4c191de3
Commit
4c191de3
authored
Feb 27, 2015
by
Nirbhay Choubey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-7560: wsrep* tests depend on the version of galera library
Added an include file to check galera library version.
parent
16c44623
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
mysql-test/suite/wsrep/include/check_galera_version.inc
mysql-test/suite/wsrep/include/check_galera_version.inc
+24
-0
mysql-test/suite/wsrep/t/variables.test
mysql-test/suite/wsrep/t/variables.test
+2
-0
No files found.
mysql-test/suite/wsrep/include/check_galera_version.inc
0 → 100644
View file @
4c191de3
# ==== Purpose ====
# Enable tests to check the galera library version.
#
# ==== Usage ====
# --let $galera_version=25.3.6
# source include/check_galera_lib_version.inc;
#
# Parameters:
# $galera_version
# Version of the galera library required by the test.
#
--
disable_query_log
eval
SET
@
GALERA_VERSION
=
(
SELECT
CONCAT
(
'$galera_version'
,
'%'
));
if
(
!
`SELECT COUNT(*) FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE
VARIABLE_NAME LIKE 'wsrep_provider_version' AND
VARIABLE_VALUE LIKE @GALERA_VERSION`
)
{
skip
Test
requires
Galera
library
version
$galera_version
;
}
--
enable_query_log
mysql-test/suite/wsrep/t/variables.test
View file @
4c191de3
...
@@ -29,6 +29,8 @@ CALL mtr.add_suppression("WSREP: Could not open saved state file for reading.*")
...
@@ -29,6 +29,8 @@ CALL mtr.add_suppression("WSREP: Could not open saved state file for reading.*")
--
disable_query_log
--
disable_query_log
eval
SET
GLOBAL
wsrep_provider
=
'$WSREP_PROVIDER'
;
eval
SET
GLOBAL
wsrep_provider
=
'$WSREP_PROVIDER'
;
--
let
$galera_version
=
25.3
.
5
source
include
/
check_galera_version
.
inc
;
--
enable_query_log
--
enable_query_log
--
replace_column
2
#
--
replace_column
2
#
...
...
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