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
ea0356e1
Commit
ea0356e1
authored
Aug 03, 2018
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add galera library dependency directly to test case.
parent
9808e23a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
mysql-test/suite/galera/disabled.def
mysql-test/suite/galera/disabled.def
+1
-1
mysql-test/suite/galera/t/galera#505.test
mysql-test/suite/galera/t/galera#505.test
+15
-0
No files found.
mysql-test/suite/galera/disabled.def
View file @
ea0356e1
...
...
@@ -51,4 +51,4 @@ galera_admin : MDEV-13549 Galera test failures
MW-416 : MDEV-13549 Galera test failures
galera_wan : MDEV-13549 Galera test failures
MW-388 : MDEV-13549 Galera test failures
galera#505 : Requires galera library version 25.3.24
mysql-test/suite/galera/t/galera#505.test
View file @
ea0356e1
...
...
@@ -2,6 +2,21 @@
--
source
include
/
galera_cluster
.
inc
--
disable_query_log
select
CAST
(
REGEXP_REPLACE
(
variable_value
,
'^(\\d+)\\.(\\d+)\\.(\\d+)(r\\d+)'
,
'\\3'
)
AS
UNSIGNED
)
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
LIKE
'wsrep_provider_version'
INTO
@
GALERA_VERSION
;
# Make sure that the test is operating on the right version of galera library.
--
let
$galera_version
=
24
eval
SET
@
REQUIRED_GALERA_VERSION
=
'$galera_version'
;
SELECT
@
GALERA_VERSION
,
@
REQUIRED_GALERA_VERSION
;
if
(
!
`SELECT (@GALERA_VERSION < @REQUIRED_GALERA_VERSION)`
)
{
skip
Test
requires
Galera
library
version
25.3
.
$galera_version
;
}
--
enable_query_log
--
connection
node_1
# Convert "... pc.weight = N; ..." to "N; ..."
...
...
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