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
180f03ea
Commit
180f03ea
authored
Sep 09, 2004
by
ndbdev@ndbmaster.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wl1292 -
Fix autotest of backups Fix autotest with mysql-test-run
parent
9b5efa4c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
3 deletions
+22
-3
ndb/test/run-test/Makefile.am
ndb/test/run-test/Makefile.am
+3
-0
ndb/test/run-test/atrt-mysql-test-run
ndb/test/run-test/atrt-mysql-test-run
+5
-0
ndb/test/run-test/atrt-testBackup
ndb/test/run-test/atrt-testBackup
+6
-0
ndb/test/run-test/daily-devel-tests.txt
ndb/test/run-test/daily-devel-tests.txt
+5
-1
ndb/test/run-test/main.cpp
ndb/test/run-test/main.cpp
+3
-2
No files found.
ndb/test/run-test/Makefile.am
View file @
180f03ea
...
@@ -18,5 +18,8 @@ LDADD_LOC = $(top_builddir)/ndb/src/mgmclient/CpcClient.o \
...
@@ -18,5 +18,8 @@ LDADD_LOC = $(top_builddir)/ndb/src/mgmclient/CpcClient.o \
$(top_builddir)
/mysys/libmysys.a
\
$(top_builddir)
/mysys/libmysys.a
\
$(top_builddir)
/strings/libmystrings.a
$(top_builddir)
/strings/libmystrings.a
wrappersdir
=
$(prefix)
/bin
wrappers_SCRIPTS
=
atrt-testBackup atrt-mysql-test-run
# Don't update the files from bitkeeper
# Don't update the files from bitkeeper
%
::
SCCS/s.%
%
::
SCCS/s.%
ndb/test/run-test/atrt-mysql-test-run
0 → 100755
View file @
180f03ea
#!/bin/sh
set
-e
-x
cd
$MYSQL_BASE_DIR
/mysql-test
./mysql-test-run
--with-ndbcluster
--ndbconnectstring
=
$NDB_CONNECTSTRING
$*
ndb/test/run-test/atrt-testBackup
0 → 100755
View file @
180f03ea
#!/bin/sh
PATH
=
$PATH
:
$MYSQL_BASE_DIR
/bin
export
PATH
testBackup
$*
ndb/test/run-test/daily-devel-tests.txt
View file @
180f03ea
max-time: 2500
cmd: atrt-mysql-test-run
args: --do-test=ndb --force
#
#
# INDEX
# INDEX
#
#
...
@@ -19,7 +23,7 @@ args: -n CreateLoadDrop T1 T10
...
@@ -19,7 +23,7 @@ args: -n CreateLoadDrop T1 T10
# BACKUP
# BACKUP
#
#
max-time: 600
max-time: 600
cmd: testBackup
cmd:
atrt-
testBackup
args: -n BackupOne T1 T6 T3 I3
args: -n BackupOne T1 T6 T3 I3
#max-time: 600
#max-time: 600
...
...
ndb/test/run-test/main.cpp
View file @
180f03ea
...
@@ -451,6 +451,7 @@ setup_config(atrt_config& config){
...
@@ -451,6 +451,7 @@ setup_config(atrt_config& config){
proc
.
m_proc
.
m_stderr
=
"2>&1"
;
proc
.
m_proc
.
m_stderr
=
"2>&1"
;
proc
.
m_proc
.
m_runas
=
proc
.
m_host
->
m_user
;
proc
.
m_proc
.
m_runas
=
proc
.
m_host
->
m_user
;
proc
.
m_proc
.
m_ulimit
=
"c:unlimited"
;
proc
.
m_proc
.
m_ulimit
=
"c:unlimited"
;
proc
.
m_proc
.
m_env
.
assfmt
(
"MYSQL_BASE_DIR=%s"
,
dir
.
c_str
());
proc
.
m_hostname
=
proc
.
m_host
->
m_hostname
;
proc
.
m_hostname
=
proc
.
m_host
->
m_hostname
;
proc
.
m_ndb_mgm_port
=
g_default_base_port
;
proc
.
m_ndb_mgm_port
=
g_default_base_port
;
if
(
split1
[
0
]
==
"mgm"
){
if
(
split1
[
0
]
==
"mgm"
){
...
@@ -501,8 +502,8 @@ setup_config(atrt_config& config){
...
@@ -501,8 +502,8 @@ setup_config(atrt_config& config){
// Setup connect string
// Setup connect string
for
(
size_t
i
=
0
;
i
<
config
.
m_processes
.
size
();
i
++
){
for
(
size_t
i
=
0
;
i
<
config
.
m_processes
.
size
();
i
++
){
config
.
m_processes
[
i
].
m_proc
.
m_env
.
a
ssfmt
(
"
NDB_CONNECTSTRING=%s"
,
config
.
m_processes
[
i
].
m_proc
.
m_env
.
a
ppfmt
(
"
NDB_CONNECTSTRING=%s"
,
connect_string
.
c_str
());
connect_string
.
c_str
());
}
}
end:
end:
...
...
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