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
46265f9a
Commit
46265f9a
authored
May 06, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - autotest
fix count of nodes needed in test
parent
44fea287
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
7 deletions
+13
-7
ndb/test/run-test/conf-daily-basic-dl145a.txt
ndb/test/run-test/conf-daily-basic-dl145a.txt
+1
-1
ndb/test/run-test/conf-daily-basic-ndbmaster.txt
ndb/test/run-test/conf-daily-basic-ndbmaster.txt
+1
-1
ndb/test/run-test/conf-daily-devel-ndbmaster.txt
ndb/test/run-test/conf-daily-devel-ndbmaster.txt
+1
-1
ndb/test/run-test/conf-daily-sql-ndbmaster.txt
ndb/test/run-test/conf-daily-sql-ndbmaster.txt
+2
-2
ndb/test/run-test/ndb-autotest.sh
ndb/test/run-test/ndb-autotest.sh
+8
-2
No files found.
ndb/test/run-test/conf-daily-basic-dl145a.txt
View file @
46265f9a
...
...
@@ -2,7 +2,7 @@ baseport: 16000
basedir: /space/autotest
mgm: CHOOSE_host1
ndb: CHOOSE_host2 CHOOSE_host3
api: CHOOSE_host1 CHOOSE_host1 CHOOSE_host
s
1
api: CHOOSE_host1 CHOOSE_host1 CHOOSE_host1
-- cluster config
[DB DEFAULT]
NoOfReplicas: 2
...
...
ndb/test/run-test/conf-daily-basic-ndbmaster.txt
View file @
46265f9a
...
...
@@ -2,7 +2,7 @@ baseport: 16000
basedir: /space/autotest
mgm: CHOOSE_host1
ndb: CHOOSE_host2 CHOOSE_host3 CHOOSE_host2 CHOOSE_host3
api: CHOOSE_host1 CHOOSE_host1 CHOOSE_host
s
1
api: CHOOSE_host1 CHOOSE_host1 CHOOSE_host1
-- cluster config
[DB DEFAULT]
NoOfReplicas: 2
...
...
ndb/test/run-test/conf-daily-devel-ndbmaster.txt
View file @
46265f9a
...
...
@@ -2,7 +2,7 @@ baseport: 16000
basedir: /space/autotest
mgm: CHOOSE_host1
ndb: CHOOSE_host2 CHOOSE_host3 CHOOSE_host2 CHOOSE_host3
api: CHOOSE_host1 CHOOSE_host1 CHOOSE_host
s
1
api: CHOOSE_host1 CHOOSE_host1 CHOOSE_host1
-- cluster config
[DB DEFAULT]
NoOfReplicas: 2
...
...
ndb/test/run-test/conf-daily-sql-ndbmaster.txt
View file @
46265f9a
...
...
@@ -2,8 +2,8 @@ baseport: 16000
basedir: /space/autotest
mgm: CHOOSE_host1
ndb: CHOOSE_host2 CHOOSE_host3
mysqld: CHOOSE_host1 CHOOSE_host
s
4
mysql: CHOOSE_host1 CHOOSE_host1 CHOOSE_host1 CHOOSE_host1 CHOOSE_host1 CHOOSE_host1 CHOOSE_host
s4 CHOOSE_hosts4 CHOOSE_hosts4 CHOOSE_hosts4 CHOOSE_hosts4 CHOOSE_hosts
4
mysqld: CHOOSE_host1 CHOOSE_host4
mysql: CHOOSE_host1 CHOOSE_host1 CHOOSE_host1 CHOOSE_host1 CHOOSE_host1 CHOOSE_host1 CHOOSE_host
4 CHOOSE_host4 CHOOSE_host4 CHOOSE_host4 CHOOSE_host4 CHOOSE_host
4
-- cluster config
[DB DEFAULT]
NoOfReplicas: 2
...
...
ndb/test/run-test/ndb-autotest.sh
View file @
46265f9a
...
...
@@ -211,6 +211,12 @@ start(){
rm
-f
/tmp/res.
$$
.tgz
}
count_hosts
(){
grep
"CHOOSE_host"
$1
|
awk
'{for(i=1; i<=NF;i++) if(match($i, "CHOOSE_host") > 0) print $i;}'
|
wc
-l
}
p
=
`
pwd
`
for
dir
in
$RUN
do
...
...
@@ -222,7 +228,8 @@ do
mkdir
-p
$run_dir
$res_dir
rm
-rf
$res_dir
/
*
$run_dir
/
*
count
=
`
grep
-c
"COMPUTER"
$run_dir
/1.ndb_mgmd/initconfig.template
`
conf
=
`
choose_conf
$dir
`
count
=
`
count_hosts
$conf
`
avail_hosts
=
`
filter /tmp/filter_hosts.
$$
$hosts
`
avail
=
`
echo
$avail_hosts
|
wc
-w
`
if
[
$count
-gt
$avail
]
...
...
@@ -233,7 +240,6 @@ do
fi
run_hosts
=
`
echo
$avail_hosts
|
awk
'{for(i=1;i<='
$count
';i++)print $i;}'
`
conf
=
`
choose_conf
$dir
`
choose
$conf
$run_hosts
>
$run_dir
/d.txt
(
cd
$run_dir
;
$mkconfig
d.txt
)
...
...
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