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
2da6a868
Commit
2da6a868
authored
May 06, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/mysql-5.0
parents
a5629a7a
df5eedb8
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
123 additions
and
8 deletions
+123
-8
ndb/test/run-test/conf-daily-basic-dl145a.txt
ndb/test/run-test/conf-daily-basic-dl145a.txt
+19
-0
ndb/test/run-test/conf-daily-basic-ndbmaster.txt
ndb/test/run-test/conf-daily-basic-ndbmaster.txt
+19
-0
ndb/test/run-test/conf-daily-basic-shark.txt
ndb/test/run-test/conf-daily-basic-shark.txt
+19
-0
ndb/test/run-test/conf-daily-devel-ndbmaster.txt
ndb/test/run-test/conf-daily-devel-ndbmaster.txt
+19
-0
ndb/test/run-test/conf-daily-sql-ndbmaster.txt
ndb/test/run-test/conf-daily-sql-ndbmaster.txt
+20
-0
ndb/test/run-test/make-config.sh
ndb/test/run-test/make-config.sh
+1
-1
ndb/test/run-test/ndb-autotest.sh
ndb/test/run-test/ndb-autotest.sh
+26
-7
No files found.
ndb/test/run-test/conf-daily-basic-dl145a.txt
0 → 100644
View file @
2da6a868
baseport: 16000
basedir: /space/autotest
mgm: CHOOSE_host1
ndb: CHOOSE_host2 CHOOSE_host3
api: CHOOSE_host1 CHOOSE_host1 CHOOSE_hosts1
-- cluster config
[DB DEFAULT]
NoOfReplicas: 2
IndexMemory: 100M
DataMemory: 300M
BackupMemory: 64M
MaxNoOfConcurrentScans: 100
DataDir: .
FileSystemPath: /space/autotest/run
[MGM DEFAULT]
PortNumber: 14000
ArbitrationRank: 1
DataDir: .
ndb/test/run-test/conf-daily-basic-ndbmaster.txt
0 → 100644
View file @
2da6a868
baseport: 16000
basedir: /space/autotest
mgm: CHOOSE_host1
ndb: CHOOSE_host2 CHOOSE_host3 CHOOSE_host2 CHOOSE_host3
api: CHOOSE_host1 CHOOSE_host1 CHOOSE_hosts1
-- cluster config
[DB DEFAULT]
NoOfReplicas: 2
IndexMemory: 100M
DataMemory: 300M
BackupMemory: 64M
MaxNoOfConcurrentScans: 100
DataDir: .
FileSystemPath: /space/autotest/run
[MGM DEFAULT]
PortNumber: 14000
ArbitrationRank: 1
DataDir: .
ndb/test/run-test/conf-daily-basic-shark.txt
0 → 100644
View file @
2da6a868
baseport: 14000
basedir: /space/autotest
mgm: CHOOSE_host1
ndb: CHOOSE_host1 CHOOSE_host1
api: CHOOSE_host1 CHOOSE_host1 CHOOSE_host1
-- cluster config
[DB DEFAULT]
NoOfReplicas: 2
IndexMemory: 100M
DataMemory: 300M
BackupMemory: 64M
MaxNoOfConcurrentScans: 100
DataDir: .
FileSystemPath: /space/autotest/run
[MGM DEFAULT]
PortNumber: 14000
ArbitrationRank: 1
DataDir: .
ndb/test/run-test/conf-daily-devel-ndbmaster.txt
0 → 100644
View file @
2da6a868
baseport: 16000
basedir: /space/autotest
mgm: CHOOSE_host1
ndb: CHOOSE_host2 CHOOSE_host3 CHOOSE_host2 CHOOSE_host3
api: CHOOSE_host1 CHOOSE_host1 CHOOSE_hosts1
-- cluster config
[DB DEFAULT]
NoOfReplicas: 2
IndexMemory: 100M
DataMemory: 300M
BackupMemory: 64M
MaxNoOfConcurrentScans: 100
DataDir: .
FileSystemPath: /space/autotest/run
[MGM DEFAULT]
PortNumber: 14000
ArbitrationRank: 1
DataDir: .
ndb/test/run-test/conf-daily-sql-ndbmaster.txt
0 → 100644
View file @
2da6a868
baseport: 16000
basedir: /space/autotest
mgm: CHOOSE_host1
ndb: CHOOSE_host2 CHOOSE_host3
mysqld: CHOOSE_host1 CHOOSE_hosts4
mysql: CHOOSE_host1 CHOOSE_host1 CHOOSE_host1 CHOOSE_host1 CHOOSE_host1 CHOOSE_host1 CHOOSE_hosts4 CHOOSE_hosts4 CHOOSE_hosts4 CHOOSE_hosts4 CHOOSE_hosts4 CHOOSE_hosts4
-- cluster config
[DB DEFAULT]
NoOfReplicas: 2
IndexMemory: 100M
DataMemory: 300M
BackupMemory: 64M
MaxNoOfConcurrentScans: 100
DataDir: .
FileSystemPath: /space/autotest/run
[MGM DEFAULT]
PortNumber: 14000
ArbitrationRank: 1
DataDir: .
ndb/test/run-test/make-config.sh
View file @
2da6a868
...
@@ -33,7 +33,7 @@ add_proc (){
...
@@ -33,7 +33,7 @@ add_proc (){
node_id
=
`
expr
$node_id
+ 1
`
node_id
=
`
expr
$node_id
+ 1
`
;;
;;
ndb
)
ndb
)
dir
=
"ndb"
dir
=
"ndb
d
"
conf
=
"[ndbd]
\n
Id:
$node_id
\n
HostName:
$2
\n
"
conf
=
"[ndbd]
\n
Id:
$node_id
\n
HostName:
$2
\n
"
node_id
=
`
expr
$node_id
+ 1
`
node_id
=
`
expr
$node_id
+ 1
`
;;
;;
...
...
ndb/test/run-test/ndb-autotest.sh
View file @
2da6a868
...
@@ -71,8 +71,14 @@ then
...
@@ -71,8 +71,14 @@ then
cd
$dst_place
cd
$dst_place
rm
-rf
$run_dir
/
*
rm
-rf
$run_dir
/
*
aclocal
;
autoheader
;
autoconf
;
automake
aclocal
;
autoheader
;
autoconf
;
automake
(
cd
innobase
;
aclocal
;
autoheader
;
autoconf
;
automake
)
if
[
-d
storage
]
(
cd
bdb/dist
;
sh s_all
)
then
(
cd
storage/innobase
;
aclocal
;
autoheader
;
autoconf
;
automake
)
(
cd
storage/bdb/dist
;
sh s_all
)
else
(
cd
innobase
;
aclocal
;
autoheader
;
autoconf
;
automake
)
(
cd
bdb/dist
;
sh s_all
)
fi
eval
$configure
--prefix
=
$run_dir
eval
$configure
--prefix
=
$run_dir
make
make
make
install
make
install
...
@@ -173,6 +179,18 @@ choose(){
...
@@ -173,6 +179,18 @@ choose(){
cat
$TMP1
cat
$TMP1
rm
-f
$TMP1
rm
-f
$TMP1
}
}
choose_conf
(){
host
=
`
uname
-n
`
if
[
-f
$test_dir
/conf-
$1
-
$host
.txt
]
then
echo
"
$test_dir
/conf-
$1
-
$host
.txt"
elif
[
-f
$test_dir
/conf-
$1
.txt
]
then
echo
"
$test_dir
/conf-
$1
.txt"
fi
}
start
(){
start
(){
rm
-rf
report.txt result
*
log.txt
rm
-rf
report.txt result
*
log.txt
$atrt
-v
-v
-r
-R
--log-file
=
log.txt
--testcase-file
=
$test_dir
/
$2
-tests
.txt &
$atrt
-v
-v
-r
-R
--log-file
=
log.txt
--testcase-file
=
$test_dir
/
$2
-tests
.txt &
...
@@ -189,8 +207,7 @@ start(){
...
@@ -189,8 +207,7 @@ start(){
p2
=
`
pwd
`
p2
=
`
pwd
`
cd
..
cd
..
tar
cfz /tmp/res.
$$
.tgz
`
basename
$p2
`
/
$DATE
tar
cfz /tmp/res.
$$
.tgz
`
basename
$p2
`
/
$DATE
scp /tmp/res.
$$
.tgz
$result_host
:
$result_path
scp /tmp/res.
$$
.tgz
$result_host
:
$result_path
/tmp/res.
$DATE
.
`
uname
-n
`
.
$$
.tgz
ssh
$result_host
"cd
$result_path
&& tar xfz res.
$$
.tgz && rm -f res.
$$
.tgz"
rm
-f
/tmp/res.
$$
.tgz
rm
-f
/tmp/res.
$$
.tgz
}
}
...
@@ -202,8 +219,8 @@ do
...
@@ -202,8 +219,8 @@ do
run_dir
=
$base_dir
/run-
$dir
-mysql-
$clone
-
$target
run_dir
=
$base_dir
/run-
$dir
-mysql-
$clone
-
$target
res_dir
=
$base_dir
/result-
$dir
-mysql-
$clone
-
$target
/
$DATE
res_dir
=
$base_dir
/result-
$dir
-mysql-
$clone
-
$target
/
$DATE
mkdir
-p
$res_dir
mkdir
-p
$r
un_dir
$r
es_dir
rm
-rf
$res_dir
/
*
rm
-rf
$res_dir
/
*
$run_dir
/
*
count
=
`
grep
-c
"COMPUTER"
$run_dir
/1.ndb_mgmd/initconfig.template
`
count
=
`
grep
-c
"COMPUTER"
$run_dir
/1.ndb_mgmd/initconfig.template
`
avail_hosts
=
`
filter /tmp/filter_hosts.
$$
$hosts
`
avail_hosts
=
`
filter /tmp/filter_hosts.
$$
$hosts
`
...
@@ -216,7 +233,9 @@ do
...
@@ -216,7 +233,9 @@ do
fi
fi
run_hosts
=
`
echo
$avail_hosts
|
awk
'{for(i=1;i<='
$count
';i++)print $i;}'
`
run_hosts
=
`
echo
$avail_hosts
|
awk
'{for(i=1;i<='
$count
';i++)print $i;}'
`
choose
$run_dir
/d.template
$run_hosts
>
$run_dir
/d.txt
conf
=
`
choose_conf
$dir
`
choose
$conf
$run_hosts
>
$run_dir
/d.txt
(
cd
$run_dir
;
$mkconfig
d.txt
)
(
cd
$run_dir
;
$mkconfig
d.txt
)
echo
$run_hosts
>>
/tmp/filter_hosts.
$$
echo
$run_hosts
>>
/tmp/filter_hosts.
$$
...
...
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