From f278315081b24b59bf73e9613e552e3519200a71 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 28 May 2012 04:39:18 +0000 Subject: Improve error reporting with a reason code. Improve debug and audit logging. Fix test scripts to cleanup state from previous builds and correctly report test errors. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1343138 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/components/sqldb/standby-test | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sca-cpp/trunk/components/sqldb/standby-test') diff --git a/sca-cpp/trunk/components/sqldb/standby-test b/sca-cpp/trunk/components/sqldb/standby-test index fbb27b5bc3..3c91e477e4 100755 --- a/sca-cpp/trunk/components/sqldb/standby-test +++ b/sca-cpp/trunk/components/sqldb/standby-test @@ -18,12 +18,13 @@ # under the License. # Setup +rm -rf tmp ../../modules/http/httpd-conf tmp/master localhost 8090 tmp/master/htdocs ../../modules/http/httpd-event-conf tmp ./pgsql-conf tmp/master 5432 ./pgsql-start tmp/master -./pgsql localhost 5432 "drop table test;" 1>/dev/null 2>&1 -./pgsql localhost 5432 "create table test(key text, value text);" 1>/dev/null 2>&1 +./pgsql localhost 6432 "drop table test;" 1>/dev/null 2>&1 +./pgsql localhost 6432 "create table test(key text, value text);" 1>/dev/null 2>&1 ../../modules/http/httpd-start tmp/master sleep 2 ./pgsql-standby-conf tmp/standby 5433 localhost 5432 8090 -- cgit v1.2.3