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
7196691b
Commit
7196691b
authored
Nov 01, 2016
by
Nirbhay Choubey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix/disable some failing galera tests.
parent
5db2195a
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
47 additions
and
4 deletions
+47
-4
mysql-test/suite/galera/disabled.def
mysql-test/suite/galera/disabled.def
+3
-1
mysql-test/suite/galera/include/auto_increment_offset_restore.inc
...st/suite/galera/include/auto_increment_offset_restore.inc
+6
-0
mysql-test/suite/galera/include/auto_increment_offset_save.inc
...-test/suite/galera/include/auto_increment_offset_save.inc
+8
-0
mysql-test/suite/galera/r/galera_sst_xtrabackup-v2.result
mysql-test/suite/galera/r/galera_sst_xtrabackup-v2.result
+2
-1
mysql-test/suite/galera/t/galera#414.test
mysql-test/suite/galera/t/galera#414.test
+1
-0
mysql-test/suite/galera/t/galera_sst_xtrabackup-v2.test
mysql-test/suite/galera/t/galera_sst_xtrabackup-v2.test
+10
-0
mysql-test/suite/galera/t/galera_wan_restart_ist.test
mysql-test/suite/galera/t/galera_wan_restart_ist.test
+15
-2
mysql-test/suite/galera_3nodes/disabled.def
mysql-test/suite/galera_3nodes/disabled.def
+2
-0
No files found.
mysql-test/suite/galera/disabled.def
View file @
7196691b
...
...
@@ -28,4 +28,6 @@ galera_flush : mysql-wsrep/issues/229
galera_transaction_read_only : mysql-wsrep/issues/229
galera_gcs_fragment : Incorrect arguments to SET
galera_flush_local : Fails sporadically
galera_binlog_stmt_autoinc : TODO: investigate
\ No newline at end of file
galera_binlog_stmt_autoinc : TODO: investigate
galera_sst_xtrabackup-v2-options : TODO: Fix test case
mysql-wsrep#33 : TODO: investigate
mysql-test/suite/galera/include/auto_increment_offset_restore.inc
View file @
7196691b
...
...
@@ -32,4 +32,10 @@ if ($node_3)
--
connection
$node_3
--
eval
SET
@@
global
.
auto_increment_offset
=
$auto_increment_offset_node_3
;
}
if
(
$node_4
)
{
--
connection
$node_4
--
eval
SET
@@
global
.
auto_increment_offset
=
$auto_increment_offset_node_4
;
}
--
enable_query_log
mysql-test/suite/galera/include/auto_increment_offset_save.inc
View file @
7196691b
...
...
@@ -13,6 +13,8 @@
# Connection handle for 2nd node
# $node_3 (optional)
# Connection handle for 3rd node
# $node_4 (optional)
# Connection handle for 4th node
if
(
!
$node_1
)
{
...
...
@@ -35,3 +37,9 @@ if ($node_3)
let
$auto_increment_offset_node_3
=
`SELECT @@global.auto_increment_offset`
;
}
if
(
$node_4
)
{
--
connection
$node_4
let
$auto_increment_offset_node_4
=
`SELECT @@global.auto_increment_offset`
;
}
mysql-test/suite/galera/r/galera_sst_xtrabackup-v2.result
View file @
7196691b
...
...
@@ -277,7 +277,7 @@ INSERT INTO t1 VALUES ('node2_committed_before');
INSERT INTO t1 VALUES ('node2_committed_before');
INSERT INTO t1 VALUES ('node2_committed_before');
COMMIT;
SET GLOBAL debug = 'd,sync.alter_opened_table';
SET GLOBAL debug
_dbug
= 'd,sync.alter_opened_table';
ALTER TABLE t1 ADD COLUMN f2 INTEGER;
SET wsrep_sync_wait = 0;
Killing server ...
...
...
@@ -356,3 +356,4 @@ COUNT(*) = 0
DROP TABLE t1;
COMMIT;
SET AUTOCOMMIT=ON;
SET GLOBAL debug_dbug = $debug_orig;
mysql-test/suite/galera/t/galera#414.test
View file @
7196691b
...
...
@@ -3,6 +3,7 @@
#
--
source
include
/
big_test
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
galera_cluster
.
inc
# We perform the shutdown/restart sequence in here. If there was a crash during shutdown, MTR will detect it
...
...
mysql-test/suite/galera/t/galera_sst_xtrabackup-v2.test
View file @
7196691b
...
...
@@ -2,8 +2,18 @@
--
source
include
/
galera_cluster
.
inc
--
source
include
/
have_innodb
.
inc
# Save original auto_increment_offset values.
--
let
$node_1
=
node_1
--
let
$node_2
=
node_2
--
source
include
/
auto_increment_offset_save
.
inc
--
source
suite
/
galera
/
include
/
galera_st_shutdown_slave
.
inc
--
source
suite
/
galera
/
include
/
galera_st_clean_slave
.
inc
--
source
suite
/
galera
/
include
/
galera_st_kill_slave
.
inc
--
source
suite
/
galera
/
include
/
galera_st_kill_slave_ddl
.
inc
# Restore original auto_increment_offset values.
--
source
include
/
auto_increment_offset_restore
.
inc
--
source
include
/
galera_end
.
inc
mysql-test/suite/galera/t/galera_wan_restart_ist.test
View file @
7196691b
...
...
@@ -12,6 +12,16 @@
--
source
include
/
galera_cluster
.
inc
--
source
include
/
have_innodb
.
inc
--
connect
node_3
,
127.0
.
0.1
,
root
,
,
test
,
$NODE_MYPORT_3
--
connect
node_4
,
127.0
.
0.1
,
root
,
,
test
,
$NODE_MYPORT_4
# Save original auto_increment_offset values.
--
let
$node_1
=
node_1
--
let
$node_2
=
node_2
--
let
$node_3
=
node_3
--
let
$node_4
=
node_4
--
source
include
/
auto_increment_offset_save
.
inc
SELECT
VARIABLE_VALUE
=
4
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_cluster_size'
;
--
connection
node_1
...
...
@@ -21,11 +31,9 @@ INSERT INTO t1 VALUES (1);
--
connection
node_2
INSERT
INTO
t1
VALUES
(
2
);
--
connect
node_3
,
127.0
.
0.1
,
root
,
,
test
,
$NODE_MYPORT_3
--
connection
node_3
INSERT
INTO
t1
VALUES
(
3
);
--
connect
node_4
,
127.0
.
0.1
,
root
,
,
test
,
$NODE_MYPORT_4
--
connection
node_4
INSERT
INTO
t1
VALUES
(
4
);
...
...
@@ -146,3 +154,8 @@ CALL mtr.add_suppression("Action message in non-primary configuration from membe
--
connection
node_4
CALL
mtr
.
add_suppression
(
"Action message in non-primary configuration from member 0"
);
# Restore original auto_increment_offset values.
--
source
include
/
auto_increment_offset_restore
.
inc
--
source
include
/
galera_end
.
inc
mysql-test/suite/galera_3nodes/disabled.def
View file @
7196691b
...
...
@@ -3,3 +3,5 @@ galera_evs_suspect_timeout : TODO: investigate
galera_innobackupex_backup : TODO: investigate
galera_slave_options_do :MDEV-8798
galera_slave_options_ignore : MDEV-8798
galera_pc_bootstrap : TODO: Investigate: Timeout in wait_condition.inc
galera_pc_weight : Test times out
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