Commit 10176212 authored by unknown's avatar unknown
Browse files

ndb - autotest

  fix configs and scripts


ndb/test/run-test/conf-daily-basic-dl145a.txt:
  fix ports
ndb/test/run-test/conf-daily-basic-ndbmaster.txt:
  fix ports
ndb/test/run-test/conf-daily-devel-ndbmaster.txt:
  fix ports
ndb/test/run-test/conf-daily-sql-ndbmaster.txt:
  fix ports
ndb/test/run-test/ndb-autotest.sh:
  minor bugs
parent 1f75afed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
baseport: 16000
baseport: 14000
basedir: /home/ndbdev/autotest/run
mgm: CHOOSE_host1
ndb: CHOOSE_host2 CHOOSE_host3 
+1 −1
Original line number Diff line number Diff line
baseport: 16000
baseport: 14000
basedir: /space/autotest
mgm: CHOOSE_host1
ndb: CHOOSE_host2 CHOOSE_host3 CHOOSE_host2 CHOOSE_host3
+1 −1
Original line number Diff line number Diff line
@@ -14,6 +14,6 @@ DataDir: .
FileSystemPath: /space/autotest/run

[MGM DEFAULT]
PortNumber: 14000
PortNumber: 16000
ArbitrationRank: 1
DataDir: .
+1 −1
Original line number Diff line number Diff line
@@ -15,6 +15,6 @@ DataDir: .
FileSystemPath: /space/autotest/run

[MGM DEFAULT]
PortNumber: 14000
PortNumber: 16000
ArbitrationRank: 1
DataDir: .
+5 −4
Original line number Diff line number Diff line
#!/bin/sh

save_args=$*
VERSION="ndb-autotest.sh version 1.03"
VERSION="ndb-autotest.sh version 1.04"

DATE=`date '+%Y-%m-%d'`
export DATE
@@ -208,9 +208,10 @@ start(){
}

count_hosts(){
    grep "CHOOSE_host" $1 |
    cnt=`grep "CHOOSE_host" $1 |
      awk '{for(i=1; i<=NF;i++) if(match($i, "CHOOSE_host") > 0) print $i;}' |
    | sort | uniq | wc -l
      sort | uniq | wc -l`
    echo $cnt
}

p=`pwd`