diff --git a/SAS/OTDB_Services/test/t_TreeService.run b/SAS/OTDB_Services/test/t_TreeService.run index 14cc7a3968eb5a1f300a595e24721b6109db21a5..1ce182790c540d1fc73c6e465bb8364136406a5c 100755 --- a/SAS/OTDB_Services/test/t_TreeService.run +++ b/SAS/OTDB_Services/test/t_TreeService.run @@ -14,7 +14,7 @@ qpid-config add exchange topic $queue # Setup a clean database with predefined content dropdb -U postgres -h ${DBHOST} unittest_db gzip -dc $srcdir/unittest_db.dump.gz | psql -U postgres -h ${DBHOST} -f - -TreeService.py $queue -D unittest_db -H ${DBHOST} & +TreeService.py $queue -D unittest_db -H ${DBHOST} -U postgres & SERVER_PID=$! # Starting up takes a while sleep 3 diff --git a/SAS/OTDB_Services/test/t_TreeStatusEvents.run b/SAS/OTDB_Services/test/t_TreeStatusEvents.run index 22148b99324eeabc1c49ec8f3b56edb082a8df64..6b23a31fe3ee7f6920afe1d139e761881a45ea46 100755 --- a/SAS/OTDB_Services/test/t_TreeStatusEvents.run +++ b/SAS/OTDB_Services/test/t_TreeStatusEvents.run @@ -14,7 +14,7 @@ qpid-config add exchange topic $queue # Setup a clean database with predefined content dropdb -U postgres -h ${DBHOST} unittest_db gzip -dc $srcdir/unittest_db.dump.gz | psql -U postgres -h ${DBHOST} -f - -TreeStatusEvents.py -B $queue -D unittest_db -H ${DBHOST} & +TreeStatusEvents.py -B $queue -D unittest_db -H ${DBHOST} -U postgres & SERVICE_PID=$! # Starting up takes a while sleep 3