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
e4a2e80a
Commit
e4a2e80a
authored
Mar 03, 2017
by
Sachin Setiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-11229: galera.MW-258 galera.galera_as_master fail in buildbot.
parent
c23e0fe5
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
18 deletions
+15
-18
mysql-test/suite/galera/disabled.def
mysql-test/suite/galera/disabled.def
+0
-6
mysql-test/suite/galera/t/MW-258.test
mysql-test/suite/galera/t/MW-258.test
+1
-0
mysql-test/suite/galera/t/MW-44.test
mysql-test/suite/galera/t/MW-44.test
+2
-0
mysql-test/suite/galera/t/galera_as_master.test
mysql-test/suite/galera/t/galera_as_master.test
+4
-10
mysql-test/suite/galera/t/galera_gcs_fc_limit.test
mysql-test/suite/galera/t/galera_gcs_fc_limit.test
+4
-1
mysql-test/suite/galera/t/galera_lock_table.test
mysql-test/suite/galera/t/galera_lock_table.test
+2
-0
mysql-test/suite/galera/t/galera_roles.test
mysql-test/suite/galera/t/galera_roles.test
+2
-1
No files found.
mysql-test/suite/galera/disabled.def
View file @
e4a2e80a
...
...
@@ -30,12 +30,6 @@ galera_gcs_fragment : Incorrect arguments to SET
galera_flush_local : Fails sporadically
galera_binlog_stmt_autoinc : TODO: investigate
galera_concurrent_ctas : Test times out, investigate
MW-258 : MDEV-11229
galera_as_master : MDEV-11229
MW-44 : MDEV-11229
galera_gcs_fc_limit : MDEV-11229
galera_roles : MDEV-11229
galera_lock_table : MDEV-11229
MW-286 : TODO: investigate
galera_sst_xtrabackup-v2-options : TODO: Fix test case
galera_sst_xtrabackup-v2 : MDEV-11208
...
...
mysql-test/suite/galera/t/MW-258.test
View file @
e4a2e80a
...
...
@@ -34,6 +34,7 @@ UNLOCK TABLES;
--
connection
node_1
--
echo
value
after
RSU
:
--
sleep
2
SHOW
STATUS
LIKE
'wsrep_desync_count'
;
SHOW
VARIABLES
LIKE
'wsrep_desync'
;
SET
GLOBAL
wsrep_desync
=
0
;
...
...
mysql-test/suite/galera/t/MW-44.test
View file @
e4a2e80a
...
...
@@ -8,9 +8,11 @@
--
connection
node_1
TRUNCATE
TABLE
mysql
.
general_log
;
--
sleep
1
--
connection
node_2
TRUNCATE
TABLE
mysql
.
general_log
;
--
sleep
1
--
connection
node_1
SET
SESSION
wsrep_osu_method
=
TOI
;
CREATE
TABLE
t1
(
f1
INTEGER
)
ENGINE
=
InnoDB
;
...
...
mysql-test/suite/galera/t/galera_as_master.test
View file @
e4a2e80a
...
...
@@ -27,6 +27,7 @@ CREATE TABLE test.t3 AS SELECT * from t1;
SET
SQL_LOG_BIN
=
ON
;
INSERT
INTO
t1
VALUES
(
3
);
CREATE
TABLE
test
.
t4
AS
SELECT
*
from
t1
;
--
save_master_pos
--
connection
node_2
SELECT
*
FROM
t1
;
...
...
@@ -35,28 +36,21 @@ SELECT * FROM t3;
SELECT
*
FROM
t4
;
--
connection
node_3
--
sync_with_master
SHOW
TABLES
;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
2
FROM
t1
;
--
source
include
/
wait_condition
.
inc
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
3
FROM
t4
;
--
source
include
/
wait_condition
.
inc
SELECT
*
FROM
t1
;
SELECT
*
FROM
t4
;
--
echo
# Cleanup
--
connection
node_1
DROP
TABLE
t1
,
t4
;
--
save_master_pos
SET
SQL_LOG_BIN
=
OFF
;
DROP
TABLE
t2
,
t3
;
--
connection
node_3
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
0
FROM
INFORMATION_SCHEMA
.
TABLES
WHERE
TABLE_NAME
=
't1'
;
--
source
include
/
wait_condition
.
inc
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
0
FROM
INFORMATION_SCHEMA
.
TABLES
WHERE
TABLE_NAME
=
't4'
;
--
source
include
/
wait_condition
.
inc
--
sync_with_master
STOP
SLAVE
;
RESET
SLAVE
ALL
;
...
...
mysql-test/suite/galera/t/galera_gcs_fc_limit.test
View file @
e4a2e80a
...
...
@@ -19,10 +19,13 @@ SET GLOBAL wsrep_provider_options = 'gcs.fc_limit=1';
LOCK
TABLE
t1
WRITE
;
--
connection
node_1
--
sleep
1
INSERT
INTO
t1
VALUES
(
2
);
--
sleep
1
INSERT
INTO
t1
VALUES
(
3
);
--
sleep
1
INSERT
INTO
t1
VALUES
(
4
);
--
sleep
1
# This query will hang because flow control will kick in
--
send
...
...
mysql-test/suite/galera/t/galera_lock_table.test
View file @
e4a2e80a
...
...
@@ -11,6 +11,8 @@
CREATE
TABLE
t1
(
id
INT
PRIMARY
KEY
)
ENGINE
=
InnoDB
;
CREATE
TABLE
t2
(
id
INT
PRIMARY
KEY
)
ENGINE
=
InnoDB
;
--
sleep
1
--
connection
node_2
LOCK
TABLE
t1
READ
;
...
...
mysql-test/suite/galera/t/galera_roles.test
View file @
e4a2e80a
...
...
@@ -36,6 +36,7 @@ GRANT SELECT (a) ON test1.t2 TO role1;
--
connect
(
foo_node_1
,
127.0
.
0.1
,
foo
,,
test
,
$port_1
,)
--
let
$port_2
=
\
$NODE_MYPORT_2
--
sleep
1
--
connect
(
foo_node_2
,
127.0
.
0.1
,
foo
,,
test
,
$port_2
,)
--
echo
...
...
@@ -107,7 +108,7 @@ CALL test1.pr1();
--
echo
--
echo
# Connect with foo_node_2
--
connection
foo_node_2
--
sleep
1
--
error
ER_PROCACCESS_DENIED_ERROR
CALL
test1
.
pr1
();
...
...
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