tests/merge: make test run again
authorMarko Kreen <markokr@gmail.com>
Fri, 23 Dec 2011 09:17:18 +0000 (11:17 +0200)
committerMarko Kreen <markokr@gmail.com>
Fri, 23 Dec 2011 09:17:18 +0000 (11:17 +0200)
Now local_add adds table to combined-root too.
Test did not consider that.

tests/merge/regen.sh

index bc181563991036799cf339d1fca2ffcc9ffc0358..fe31be1a31cbd0fb7dfc5dc5cc0fbd9e7b05d67a 100755 (executable)
@@ -136,8 +136,8 @@ for db in full1 full2; do
 cnt=0
 while test $cnt -ne $parts; do
  sleep 5
- cnt=`psql ${db} -Atc "select count(*) from londiste.table_info"`
- echo "$db cnt=$cnt"
+ cnt=`psql ${db} -Atc "select count(*)-1 from londiste.table_info"`
+ echo "$db cnt=$cnt parts=$parts"
 done
 done