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
d2dce1c9
Commit
d2dce1c9
authored
Mar 04, 2021
by
Daniel Black
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-6536: galera IPv6 tests to connect using IPv6
parent
b3abcf80
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
2 deletions
+16
-2
mysql-test/include/galera_connect.inc
mysql-test/include/galera_connect.inc
+10
-2
mysql-test/suite/galera_3nodes/t/GAL-501.test
mysql-test/suite/galera_3nodes/t/GAL-501.test
+1
-0
mysql-test/suite/galera_3nodes/t/galera_ipv6_mariabackup.test
...l-test/suite/galera_3nodes/t/galera_ipv6_mariabackup.test
+1
-0
mysql-test/suite/galera_3nodes/t/galera_ipv6_mariabackup_section.test
...uite/galera_3nodes/t/galera_ipv6_mariabackup_section.test
+1
-0
mysql-test/suite/galera_3nodes/t/galera_ipv6_mysqldump.test
mysql-test/suite/galera_3nodes/t/galera_ipv6_mysqldump.test
+1
-0
mysql-test/suite/galera_3nodes/t/galera_ipv6_rsync.test
mysql-test/suite/galera_3nodes/t/galera_ipv6_rsync.test
+1
-0
mysql-test/suite/galera_3nodes/t/galera_ipv6_rsync_section.test
...test/suite/galera_3nodes/t/galera_ipv6_rsync_section.test
+1
-0
No files found.
mysql-test/include/galera_connect.inc
View file @
d2dce1c9
...
...
@@ -11,6 +11,9 @@
# $galera_connection_name
# Name of the resulting connection.
#
# $galera_connection_address
# IP to connect to for galera (defaults to 127.0.0.1)
#
# $galera_server_number
# Sequence number of the node in the galera cluster.
#
...
...
@@ -28,6 +31,11 @@ if (!$galera_server_number)
--
die
ERROR
IN
TEST
:
$galera_server_number
must
be
set
before
sourcing
include
/
galera_connect
.
inc
}
if
(
!
$galera_connection_address
)
{
--
let
$galera_connection_address
=
127.0
.
0.1
}
--
let
$_galera_port
=
\
$NODE_MYPORT_$galera_server_number
if
(
!
$_galera_port
)
{
...
...
@@ -38,7 +46,7 @@ if (!$_galera_port)
if
(
$galera_debug
)
{
--
disable_query_log
--
echo
connect
(
$galera_connection_name
,
127.0
.
0.1
,
root
,,
test
,
$_galera_port
,)
--
echo
connect
(
$galera_connection_name
,
$galera_connection_address
,
root
,,
test
,
$_galera_port
,)
--
enable_query_log
}
...
...
@@ -47,5 +55,5 @@ if ($galera_debug)
# Open a connection
--
disable_query_log
--
connect
(
$galera_connection_name
,
127.0
.
0.1
,
root
,,
test
,
$_galera_port
,)
--
connect
(
$galera_connection_name
,
$galera_connection_address
,
root
,,
test
,
$_galera_port
,)
--
enable_query_log
mysql-test/suite/galera_3nodes/t/GAL-501.test
View file @
d2dce1c9
...
...
@@ -4,6 +4,7 @@
# wsrep_node_address=[::1]
# ist.recv_addr=[::1]
--
let
galera_connection_address
=::
1
--
source
include
/
galera_cluster
.
inc
--
source
include
/
check_ipv6
.
inc
--
source
include
/
force_restart
.
inc
...
...
mysql-test/suite/galera_3nodes/t/galera_ipv6_mariabackup.test
View file @
d2dce1c9
--
let
galera_connection_address
=::
1
--
source
include
/
galera_cluster
.
inc
--
source
include
/
check_ipv6
.
inc
--
source
include
/
have_innodb
.
inc
...
...
mysql-test/suite/galera_3nodes/t/galera_ipv6_mariabackup_section.test
View file @
d2dce1c9
--
let
galera_connection_address
=::
1
--
source
include
/
galera_cluster
.
inc
--
source
include
/
check_ipv6
.
inc
--
source
include
/
have_innodb
.
inc
...
...
mysql-test/suite/galera_3nodes/t/galera_ipv6_mysqldump.test
View file @
d2dce1c9
--
let
galera_connection_address
=::
1
--
source
include
/
galera_cluster
.
inc
--
source
include
/
check_ipv6
.
inc
--
source
include
/
force_restart
.
inc
...
...
mysql-test/suite/galera_3nodes/t/galera_ipv6_rsync.test
View file @
d2dce1c9
--
let
galera_connection_address
=::
1
--
source
include
/
galera_cluster
.
inc
--
source
include
/
check_ipv6
.
inc
--
source
include
/
force_restart
.
inc
...
...
mysql-test/suite/galera_3nodes/t/galera_ipv6_rsync_section.test
View file @
d2dce1c9
--
let
galera_connection_address
=::
1
--
source
include
/
galera_cluster
.
inc
--
source
include
/
check_ipv6
.
inc
--
source
include
/
force_restart
.
inc
...
...
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