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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
325d8002
Commit
325d8002
authored
Jun 30, 2007
by
tomas@whalegate.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb test suite cleanup + making ndb_autodiscover3 less flaky
parent
1933c20a
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
27 additions
and
17 deletions
+27
-17
mysql-test/lib/mtr_cases.pl
mysql-test/lib/mtr_cases.pl
+1
-0
mysql-test/t/ndb_alter_table.test
mysql-test/t/ndb_alter_table.test
+0
-1
mysql-test/t/ndb_alter_table2.test
mysql-test/t/ndb_alter_table2.test
+0
-1
mysql-test/t/ndb_alter_table3.test
mysql-test/t/ndb_alter_table3.test
+0
-1
mysql-test/t/ndb_autodiscover3.test
mysql-test/t/ndb_autodiscover3.test
+25
-7
mysql-test/t/ndb_binlog_ddl_multi.test
mysql-test/t/ndb_binlog_ddl_multi.test
+0
-1
mysql-test/t/ndb_binlog_log_bin.test
mysql-test/t/ndb_binlog_log_bin.test
+0
-1
mysql-test/t/ndb_binlog_multi.test
mysql-test/t/ndb_binlog_multi.test
+0
-1
mysql-test/t/ndb_cache_multi.test
mysql-test/t/ndb_cache_multi.test
+0
-1
mysql-test/t/ndb_cache_multi2.test
mysql-test/t/ndb_cache_multi2.test
+0
-1
mysql-test/t/ndb_single_user.test
mysql-test/t/ndb_single_user.test
+0
-1
mysql-test/t/rpl_ndb_ctype_ucs2_def.test
mysql-test/t/rpl_ndb_ctype_ucs2_def.test
+1
-1
No files found.
mysql-test/lib/mtr_cases.pl
View file @
325d8002
...
@@ -611,6 +611,7 @@ our @tags=
...
@@ -611,6 +611,7 @@ our @tags=
["
include/big_test.inc
",
"
big_test
",
1
],
["
include/big_test.inc
",
"
big_test
",
1
],
["
include/have_debug.inc
",
"
need_debug
",
1
],
["
include/have_debug.inc
",
"
need_debug
",
1
],
["
include/have_ndb.inc
",
"
ndb_test
",
1
],
["
include/have_ndb.inc
",
"
ndb_test
",
1
],
["
include/have_multi_ndb.inc
",
"
ndb_test
",
1
],
["
include/have_ndb_extra.inc
",
"
ndb_extra
",
1
],
["
include/have_ndb_extra.inc
",
"
ndb_extra
",
1
],
["
require_manager
",
"
require_manager
",
1
],
["
require_manager
",
"
require_manager
",
1
],
);
);
...
...
mysql-test/t/ndb_alter_table.test
View file @
325d8002
--
source
include
/
have_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
...
...
mysql-test/t/ndb_alter_table2.test
View file @
325d8002
--
source
include
/
have_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
...
...
mysql-test/t/ndb_alter_table3.test
View file @
325d8002
--
source
include
/
have_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
...
...
mysql-test/t/ndb_autodiscover3.test
View file @
325d8002
--
source
include
/
have_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
ndb_default_cluster
.
inc
--
source
include
/
ndb_default_cluster
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
...
@@ -10,6 +9,9 @@
...
@@ -10,6 +9,9 @@
drop
table
if
exists
t1
,
t2
;
drop
table
if
exists
t1
,
t2
;
--
enable_warnings
--
enable_warnings
connect
(
con1
,
127.0
.
0.1
,
root
,,
test
,
$MASTER_MYPORT
,);
connect
(
con2
,
127.0
.
0.1
,
root
,,
test
,
$MASTER_MYPORT1
,);
# Workaround for Bug#27644
# Workaround for Bug#27644
# ndb: connecting api node/mysqld may "steal" node_id from running mysqld
# ndb: connecting api node/mysqld may "steal" node_id from running mysqld
# - let ndb_waiter use a fixed node id so "steal" cannot happen
# - let ndb_waiter use a fixed node id so "steal" cannot happen
...
@@ -27,8 +29,14 @@ insert into t1 values (1);
...
@@ -27,8 +29,14 @@ insert into t1 values (1);
--
exec
$NDB_MGM
--
no
-
defaults
-
e
"all restart"
>>
$NDB_TOOLS_OUTPUT
--
exec
$NDB_MGM
--
no
-
defaults
-
e
"all restart"
>>
$NDB_TOOLS_OUTPUT
--
exec
$NDB_TOOLS_DIR
/
ndb_waiter
--
no
-
defaults
-
c
$connect_str
>>
$NDB_TOOLS_OUTPUT
--
exec
$NDB_TOOLS_DIR
/
ndb_waiter
--
no
-
defaults
-
c
$connect_str
>>
$NDB_TOOLS_OUTPUT
# Wait for mysqld to reconnect and exit from readonly mode
# Wait for mysqld to reconnect and exit from readonly mode
# Should preferrably be a "while (!"select ndb_readonly")" loop
--
disable_query_log
sleep
2
;
--
connection
con1
--
source
include
/
ndb_not_readonly
.
inc
--
connection
con2
--
source
include
/
ndb_not_readonly
.
inc
--
enable_query_log
--
connection
server1
--
error
1297
--
error
1297
insert
into
t1
values
(
2
);
insert
into
t1
values
(
2
);
--
error
1296
--
error
1296
...
@@ -47,8 +55,13 @@ select * from t2 order by a limit 3;
...
@@ -47,8 +55,13 @@ select * from t2 order by a limit 3;
--
exec
$NDB_MGM
--
no
-
defaults
-
e
"all restart -i"
>>
$NDB_TOOLS_OUTPUT
--
exec
$NDB_MGM
--
no
-
defaults
-
e
"all restart -i"
>>
$NDB_TOOLS_OUTPUT
--
exec
$NDB_TOOLS_DIR
/
ndb_waiter
--
no
-
defaults
-
c
$connect_str
>>
$NDB_TOOLS_OUTPUT
--
exec
$NDB_TOOLS_DIR
/
ndb_waiter
--
no
-
defaults
-
c
$connect_str
>>
$NDB_TOOLS_OUTPUT
# to ensure mysqld has connected again, and recreated system tables
# to ensure mysqld has connected again, and recreated system tables
--
exec
$NDB_TOOLS_DIR
/
ndb_desc
--
no
-
defaults
-
r
30
-
d
cluster
ndb_apply_status
>>
$NDB_TOOLS_OUTPUT
--
disable_query_log
sleep
2
;
--
connection
con1
--
source
include
/
ndb_not_readonly
.
inc
--
connection
con2
--
source
include
/
ndb_not_readonly
.
inc
--
enable_query_log
--
connection
server2
--
connection
server2
--
error
ER_NO_SUCH_TABLE
--
error
ER_NO_SUCH_TABLE
select
*
from
t2
;
select
*
from
t2
;
...
@@ -66,8 +79,13 @@ reset master;
...
@@ -66,8 +79,13 @@ reset master;
--
exec
$NDB_MGM
--
no
-
defaults
-
e
"all restart -i"
>>
$NDB_TOOLS_OUTPUT
--
exec
$NDB_MGM
--
no
-
defaults
-
e
"all restart -i"
>>
$NDB_TOOLS_OUTPUT
--
exec
$NDB_TOOLS_DIR
/
ndb_waiter
--
no
-
defaults
-
c
$connect_str
>>
$NDB_TOOLS_OUTPUT
--
exec
$NDB_TOOLS_DIR
/
ndb_waiter
--
no
-
defaults
-
c
$connect_str
>>
$NDB_TOOLS_OUTPUT
# to ensure mysqld has connected again, and recreated system tables
# to ensure mysqld has connected again, and recreated system tables
--
exec
$NDB_TOOLS_DIR
/
ndb_desc
--
no
-
defaults
-
r
30
-
d
cluster
ndb_apply_status
>>
$NDB_TOOLS_OUTPUT
--
disable_query_log
sleep
2
;
--
connection
con1
--
source
include
/
ndb_not_readonly
.
inc
--
connection
con2
--
source
include
/
ndb_not_readonly
.
inc
--
enable_query_log
--
connection
server1
--
connection
server1
--
error
ER_NO_SUCH_TABLE
--
error
ER_NO_SUCH_TABLE
select
*
from
t2
;
select
*
from
t2
;
...
...
mysql-test/t/ndb_binlog_ddl_multi.test
View file @
325d8002
--
source
include
/
have_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
have_binlog_format_row
.
inc
--
source
include
/
have_binlog_format_row
.
inc
...
...
mysql-test/t/ndb_binlog_log_bin.test
View file @
325d8002
--
source
include
/
have_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
have_binlog_format_row
.
inc
--
source
include
/
have_binlog_format_row
.
inc
...
...
mysql-test/t/ndb_binlog_multi.test
View file @
325d8002
--
source
include
/
have_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
have_binlog_format_row
.
inc
--
source
include
/
have_binlog_format_row
.
inc
...
...
mysql-test/t/ndb_cache_multi.test
View file @
325d8002
--
source
include
/
have_query_cache
.
inc
--
source
include
/
have_query_cache
.
inc
--
source
include
/
have_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
...
...
mysql-test/t/ndb_cache_multi2.test
View file @
325d8002
--
source
include
/
have_query_cache
.
inc
--
source
include
/
have_query_cache
.
inc
--
source
include
/
have_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
...
...
mysql-test/t/ndb_single_user.test
View file @
325d8002
--
source
include
/
have_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
source
include
/
ndb_default_cluster
.
inc
--
source
include
/
ndb_default_cluster
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
...
...
mysql-test/t/rpl_ndb_ctype_ucs2_def.test
View file @
325d8002
--
source
include
/
have_ucs2
.
inc
--
source
include
/
have_ucs2
.
inc
--
source
include
/
have_ndb
.
inc
--
source
include
/
have_ndb
.
inc
--
source
include
/
master
-
slave
.
inc
--
source
include
/
ndb_
master
-
slave
.
inc
#
#
# MySQL Bug#15276: MySQL ignores collation-server
# MySQL Bug#15276: MySQL ignores collation-server
...
...
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