Skip to content

Commit f2518f3

Browse files
author
Jan Lindström
authored
Merge pull request #1136 from tempesta-tech/sysprg/MDEV-18379
MDEV-18379: Unification of check for IPv6
2 parents 45c47a0 + a22dc62 commit f2518f3

File tree

7 files changed

+8
-19
lines changed

7 files changed

+8
-19
lines changed

mysql-test/suite/galera_3nodes/include/have_ipv6.inc

Lines changed: 0 additions & 15 deletions
This file was deleted.

mysql-test/suite/galera_3nodes/r/GAL-501.result

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ VARIABLE_VALUE LIKE '%[::1]%'
44
SELECT VARIABLE_VALUE = 3 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
55
VARIABLE_VALUE = 3
66
1
7+
connection node_2;
78
SET GLOBAL wsrep_provider_options='gmcast.isolate=1';
9+
connection node_1;
810
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
911
INSERT INTO t1 VALUES (1);
12+
connection node_2;
1013
SET GLOBAL wsrep_provider_options='gmcast.isolate=0';
1114
SELECT COUNT(*) = 1 FROM t1;
1215
COUNT(*) = 1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--bind-address=::

mysql-test/suite/galera_3nodes/t/GAL-501.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# ist.recv_addr=[::1]
66

77
--source include/galera_cluster.inc
8-
--source include/have_ipv6.inc
8+
--source include/check_ipv6.inc
99

1010
# Confirm that initial handshake happened over ipv6
1111

mysql-test/suite/galera_3nodes/t/galera_ipv6_mariabackup.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--source include/galera_cluster.inc
2-
--source include/have_ipv6.inc
2+
--source include/check_ipv6.inc
33
--source include/have_mariabackup.inc
44

55
# Confirm that initial handshake happened over ipv6

mysql-test/suite/galera_3nodes/t/galera_ipv6_mysqldump.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--source include/galera_cluster.inc
2-
--source include/have_ipv6.inc
2+
--source include/check_ipv6.inc
33

44
call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to'");
55
call mtr.add_suppression("Failed to load slave replication state from table mysql.gtid_slave_pos");

mysql-test/suite/galera_3nodes/t/galera_ipv6_rsync.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--source include/galera_cluster.inc
2-
--source include/have_ipv6.inc
2+
--source include/check_ipv6.inc
33

44
# Confirm that initial handshake happened over ipv6
55

0 commit comments

Comments
 (0)